diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 7501f55716..e5883fee76 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -133,7 +133,7 @@ outputs: value: ${{ steps.diff.outputs.GITHUB_ACTIONS_CHANGED > 0 || steps.diff.outputs.SCRIPTS_CHANGED > 0 || - steps.diff.outputs.SPECS_CHANGED > 0 || + steps.diff.outputs.SHOULD_RUN_SPECS > 0 || steps.diff.outputs.TESTS_CHANGED > 0 || steps.diff.outputs.JS_CLIENT_CHANGED > 0 || steps.diff.outputs.JS_TEMPLATE_CHANGED > 0 || diff --git a/scripts/ci/githubActions/setRunVariables.ts b/scripts/ci/githubActions/setRunVariables.ts index f0907f018a..01071f5049 100644 --- a/scripts/ci/githubActions/setRunVariables.ts +++ b/scripts/ci/githubActions/setRunVariables.ts @@ -29,7 +29,13 @@ export const DEPENDENCIES = { '.github/workflows', '.github/.cache_version', ], - SPECS_CHANGED: ['specs', ':!specs/bundled'], + SHOULD_RUN_SPECS: [ + ...CLIENTS_COMMON_FILES, + 'specs', + 'templates', + 'generators', + ':!specs/bundled', + ], COMMON_SPECS_CHANGED: ['specs/common'], TESTS_CHANGED: ['tests'], SCRIPTS_CHANGED: ['scripts'],