Repository navigation
fix: Use CROSS_ORG_PR_TOKEN for release-rc.yml workflow dispatch - #327
Merged
Merged
Conversation
RELEASE_PLZ_ORG_TOKEN lacks workflow-dispatch permission on this repo (confirmed by the 0.28.0 train cut failing with HTTP 403, same failure mode already fixed in c2pa-rs's release-train-cut.yml). Switch to CROSS_ORG_PR_TOKEN, matching that fix. Co-Authored-By: Claude Sonnet 5 <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #327 +/- ##
=======================================
Coverage 72.16% 72.16%
=======================================
Files 4 4
Lines 1060 1060
=======================================
Hits 765 765
Misses 295 295 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Summary
0.28.0still failed, this time at the "Cut first release-candidate build (-rc.1)" step:release-train-cut.yml:RELEASE_PLZ_ORG_TOKENisn't scoped forworkflow_dispatchon this repo. Switches toCROSS_ORG_PR_TOKEN.git push origin main:refs/heads/0.28.0-rc) succeeded in that run, confirming the earliercaiopensrcrole bump (Write → Maintain) fixed the permission gap for ordinary pushes; this is a separate, narrower gap specific to triggeringworkflow_dispatchvia the API.Test plan
0.28.0-rcafter this merges and confirm the wholerelease-train-cut.ymljob completes (branch, first RC build, main dev-cycle bump, tracking issue).🤖 Generated with Claude Code