Skip to content

[gh-aw] Protected Files: Honor --nowarn for command-line option warnings #19781

@github-actions

Description

@github-actions

Warning

Protected Files

The push to pull request branch was blocked because the patch modifies protected files.

Target Pull Request: #19776

Please review the changes carefully before pushing them to the pull request branch. These files may affect project dependencies, CI/CD pipelines, or agent behaviour.

Protected files
  • global.json

Apply the patch after review

The patch is available in the workflow run artifacts:

Workflow Run: View run details and download patch artifact

# Download the artifact from the workflow run
gh run download 26213602639 -n agent -D /tmp/agent-26213602639

# Apply the patch to the pull request branch
git fetch origin fix/nowarn-75
git checkout fix/nowarn-75
git am --3way /tmp/agent-26213602639/aw-fix-nowarn-75.patch
git push origin fix/nowarn-75

To route changes like this to a review issue instead of blocking, configure protected-files: fallback-to-issue in your workflow configuration.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status

New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions