diff --git a/.github/workflows/master-windows.yml b/.github/workflows/master-windows.yml index 814a89787683b..3418bc68fc0de 100644 --- a/.github/workflows/master-windows.yml +++ b/.github/workflows/master-windows.yml @@ -6,6 +6,24 @@ on: push: branches: - master + paths: + # List of files/paths that should trigger the run. The intention is to avoid running all tests if the commit only includes changes on assets or README + - '*/datadog_checks/**' + - '*/tests/**' + - 'ddev' + - 'datadog_check_base' + - 'datadog_checks_dev' + # Contains overrides for testing + - '.ddev' + # Want to ensure any change in workflows is validated + - '.github/workflows/**' + # Test matrices and dependencies + - '*/hatch.toml' + - '*/pyproject.toml' + # Some integrations might use this file to validate metrics emission + - '*/metadata.csv' + # In case some linting formatting config has changed + - 'pyproject.toml' jobs: cache: diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index e23d4828323d0..a006fa2734982 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -4,6 +4,24 @@ on: push: branches: - master + paths: + # List of files/paths that should trigger the run. The intention is to avoid running all tests if the commit only includes changes on assets or README + - '*/datadog_checks/**' + - '*/tests/**' + - 'ddev' + - 'datadog_check_base' + - 'datadog_checks_dev' + # Contains overrides for testing + - '.ddev' + # Want to ensure any change in workflows is validated + - '.github/workflows/**' + # Test matrices and dependencies + - '*/hatch.toml' + - '*/pyproject.toml' + # Some integrations might use this file to validate metrics emission + - '*/metadata.csv' + # In case some linting formatting config has changed + - 'pyproject.toml' jobs: cache: