msbuild
msbuild copied to clipboard
"changing an swr file" message fires for empty PRs
An empty PR, such as the ones Copilot creates when starting a task in agent mode, fire messages like
https://github.com/dotnet/msbuild/pull/12014#issuecomment-2970732811
Hello @@copilot, I noticed that you’re changing an .swr file or any file under src/Package/MSBuild.VSSetup.. Please make sure to validate this change by an experimental VS insertion. This is accomplished by pushing to an exp/* branch, which requires write permissions to this repo.
This is because of this automation:
https://github.com/dotnet/msbuild/blob/a1c160002eb10785a233cfa5b1fb72cd20dcb73b/.github/policies/resourceManagement.yml#L155-L170
Which is documented at https://microsoft.github.io/GitOps/policies/resource-management.html
Can we avoid firing that message in this case?