Repository navigation
[code-radiator] Allow pushing protected files in cross-branch merges - #25847
Merged
Merged
Conversation
…anch safe output Co-authored-by: rolfbjarne <249268+rolfbjarne@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix Code Radiator workflow failure due to protected files
[code-radiator] Allow pushing protected files in cross-branch merges
Jun 29, 2026
rolfbjarne
marked this pull request as ready for review
June 29, 2026 12:33
rolfbjarne
approved these changes
Jun 29, 2026
rolfbjarne
enabled auto-merge (squash)
June 29, 2026 12:34
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Code Radiator GitHub workflow configuration so cross-branch merges from main can propagate changes that touch “protected” paths (notably .github/*) by relaxing the safe-outputs restriction for the push-to-pull-request-branch action.
Changes:
- Allow protected-file updates when using
push-to-pull-request-branchincode-radiator.md. - Regenerate
code-radiator.lock.ymlso the compiled safe-outputs config reflectsprotected_files_policy: "allowed"forpush_to_pull_request_branch.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| .github/workflows/code-radiator.md | Changes safe-outputs policy to allow pushing protected files to the PR branch during main→target merges. |
| .github/workflows/code-radiator.lock.yml | Regenerated lockfile embedding the updated safe-outputs config (protected files policy now “allowed” for push-to-PR-branch). |
Comment on lines
50
to
+55
| push-to-pull-request-branch: | ||
| max: 10 | ||
| signed-commits: false | ||
| target: "*" | ||
| required-title-prefix: "🤖 Merge 'main' => '" | ||
| protected-files: allowed |
dalexsoto
approved these changes
Jun 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Code Radiator workflow was hard-blocked when merging
maininto target branches because the patch included protected files (.github/workflows/,.github/agents/,.github/aw/,.github/skills/). Thepush-to-pull-request-branchsafe output defaults toprotected-files: blocked.Changes
code-radiator.md: Addprotected-files: allowedtopush-to-pull-request-branch— this workflow is explicitly designed to propagate all changes frommain, including CI/workflow filescode-radiator.lock.yml: Recompiled to reflect the frontmatter change (protected_files_policy: "allowed"forpush_to_pull_request_branch)