GHA-355 Add statuses: write permission for release-lock feature - #1744
GHA-355 Add statuses: write permission for release-lock feature#1744nils-werner-sonarsource wants to merge 1 commit into
Conversation
|
Closing: the fix is being applied centrally in release-github-actions (vault token approach). No changes needed in caller repos. |
CI failed: The build is failing consistently across jobs due to a dependency resolution error involving 'sonar-orchestrator-junit5', which is missing or inaccessible in the remote repository.OverviewMultiple CI jobs failed during the Gradle build process due to a FailuresDependency Resolution Failure (confidence: high)
Summary
Code Review ✅ ApprovedAdds Tip Comment OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
|





Context
This PR is part of the release-lock gate rollout (GHA-368, epic GHA-358).
The
automated-release.ymlreusable workflow inrelease-github-actionswill soon activate Phase 0 of the release-lock gate: at release start and abort, it posts arelease-lockcommit status on all open PRs. This requiresstatuses: writeon the caller job'sGITHUB_TOKEN.This PR grants that permission ahead of time — while the sweep steps are still no-ops — so that activating the feature later requires no further per-repo changes and doesn't risk disrupting ongoing releases.
Change
Add
statuses: writeto thepermissions:block of the automated-release caller job.Impact
None on current releases. The permission is additive; the sweep steps in
automated-release.ymlare currently stubbed out.