Skip to content

fix: Use CROSS_ORG_PR_TOKEN for release-rc.yml workflow dispatch - #327

Merged
scouten-adobe merged 1 commit into
mainfrom
fix-release-train-workflow-dispatch-token
Sep 14, 2026
Merged

scouten-adobe merged 1 commit into
mainfrom
fix-release-train-workflow-dispatch-token

Conversation

@scouten-adobe

Copy link
Copy Markdown
Collaborator

Summary

  • Re-running the (now MSRV/audit/release-path-fixed) train cut for 0.28.0 still failed, this time at the "Cut first release-candidate build (-rc.1)" step:
    could not create workflow dispatch event: HTTP 403: Resource not accessible by personal access token
    
  • Same root cause and fix already applied to c2pa-rs's release-train-cut.yml: RELEASE_PLZ_ORG_TOKEN isn't scoped for workflow_dispatch on this repo. Switches to CROSS_ORG_PR_TOKEN.
  • Branch creation itself (git push origin main:refs/heads/0.28.0-rc) succeeded in that run, confirming the earlier caiopensrc role bump (Write → Maintain) fixed the permission gap for ordinary pushes; this is a separate, narrower gap specific to triggering workflow_dispatch via the API.

Test plan

  • Re-cut 0.28.0-rc after this merges and confirm the whole release-train-cut.yml job completes (branch, first RC build, main dev-cycle bump, tracking issue).

🤖 Generated with Claude Code

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

codecov Bot commented Sep 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.16%. Comparing base (7914428) to head (4ba01a9).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@scouten-adobe
scouten-adobe merged commit a80c980 into main Sep 14, 2026
17 checks passed
@scouten-adobe
scouten-adobe deleted the fix-release-train-workflow-dispatch-token branch September 14, 2026 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant