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 the source output, 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

#25813 (comment)

PR Checklist