Add global config change detection to action by TravisEz13 · Pull Request #26082 · PowerShell/PowerShell
PR Summary
This pull request updates the path filter logic in the .github/actions/infrastructure/path-filters/action.yml workflow to better detect changes to global configuration files. The main focus is to ensure changes to files like .globalconfig, nuget.config, or global.json are properly tracked and surfaced as part of the workflow outputs.
Path filter enhancements:
- Added detection for changes to global configuration files (
.globalconfig,nuget.config,global.json) and included them in thesourceoutput, ensuring that any updates to these files will trigger relevant workflow steps. - Introduced a new output,
globalConfigChanged, to explicitly indicate when global configuration files have been modified.
PR Context
PR Checklist
- PR has a meaningful title
- Use the present tense and imperative mood when describing your changes
- Summarized changes
- Make sure all
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright header - This PR is ready to merge. If this PR is a work in progress, please open this as a Draft Pull Request and mark it as Ready to Review when it is ready to merge.
- Breaking changes
- None
- OR
- Experimental feature(s) needed
- Experimental feature name(s):
- User-facing changes
- Not Applicable
- OR
- Documentation needed
- Issue filed:
- Testing - New and feature
- N/A or can only be tested interactively
- OR
- Make sure you've added a new test if existing tests do not effectively test the code changed