From 895b4c086d7ef9aa2bfb3af2431efa9976bf30b7 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Mon, 22 Sep 2025 14:13:07 -0700 Subject: [PATCH] Add global config change detection to action --- .github/actions/infrastructure/path-filters/action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/actions/infrastructure/path-filters/action.yml b/.github/actions/infrastructure/path-filters/action.yml index 78426bdff03..e150b1a9d09 100644 --- a/.github/actions/infrastructure/path-filters/action.yml +++ b/.github/actions/infrastructure/path-filters/action.yml @@ -83,7 +83,9 @@ runs: const buildModuleChanged = files.some(file => file.filename.startsWith('build.psm1')); - const source = mainSourceChanged || toolsChanged || githubChanged || propsChanged || testsChanged; + const globalConfigChanged = files.some(file => file.filename.startsWith('.globalconfig')) || files.some(file => file.filename.startsWith('nuget.config')) || files.some(file => file.filename.startsWith('global.json')); + + const source = mainSourceChanged || toolsChanged || githubChanged || propsChanged || testsChanged || globalConfigChanged; core.setOutput('toolsChanged', toolsChanged); core.setOutput('githubChanged', githubChanged); @@ -91,7 +93,9 @@ runs: core.setOutput('testsChanged', testsChanged); core.setOutput('mainSourceChanged', mainSourceChanged); core.setOutput('buildModuleChanged', buildModuleChanged); + core.setOutput('globalConfigChanged', globalConfigChanged); core.setOutput('source', source); + - name: Capture outputs run: |