Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Description
The
ci-approvaljob gotpull-requests: writewhenrequire-ci-approvaldeleted theapproved-for-cilabel on every fork push. That label scheme is gone: a maintainer's re-run approves, and the action only reads the event and looks up the permission of whoever started the run, so the write grant was a leftover. Inci.ymlthe gate now inherits the workflow'scontents: read(enough forcheck-workflows), the downstream workflows give itcontents: readexplicitly since they set no workflow-level permissions, andci-fork.ymlgrantspull-requests: readinstead of write (thehpc-gatejob still reads the pull request). The bot's regeneration PRs will carry the change to the rolled-out repos.The collaborator-permission lookup is only reached for a fork pull request, so the first fork PR after the merge is what proves it under the reduced token.
🤖 Generated with Claude Code
Contributor Declaration
By opening this pull request, I affirm the following:
Documentation preview
https://sites.ecmwf.int/docs/dev-section/ci-infrastructure/pull-requests/PR-340