fix(ci): trigger build when root-level NuGet/SDK config files change#2049
fix(ci): trigger build when root-level NuGet/SDK config files change#2049
Conversation
…nges Agent-Logs-Url: https://github.com/Belphemur/SoundSwitch/sessions/c40d8fe6-78fa-4e15-869e-a7996048cb0b Co-authored-by: Belphemur <197810+Belphemur@users.noreply.github.com>
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Pull request overview
Updates the GitHub Actions path filtering so the .NET build workflow triggers for pull requests that modify repository-level .NET/NuGet configuration files (commonly touched by Dependabot), aligning CI behavior with how the .NET solution is actually impacted.
Changes:
- Extend the
sound-switchpath filter to includeDirectory.Packages.props,global.json, andnuget.config.
Dependabot NuGet bump PRs (e.g. changes to
Directory.Packages.props) never triggered the build because thesound-switchpath filter only matchedSoundSwitch*/**, missing all root-level build config files.Changes
.github/workflows/dotnet.yml: extend thesound-switchpaths filter to include root-level files that affect the build:Directory.Packages.props— NuGet Central Package Management (where Dependabot bumps versions)global.json— .NET SDK version pinnuget.config— NuGet feed config