Skip to content

fix: grant actions:read to release CI gate - #263

Merged
ifsantana merged 1 commit into
mainfrom
fix/release-workflow-actions-permission
Aug 14, 2026
Merged

fix: grant actions:read to release CI gate#263
ifsantana merged 1 commit into
mainfrom
fix/release-workflow-actions-permission

Conversation

@ifsantana

Copy link
Copy Markdown
Collaborator

Summary

  • The v0.1.0 release run failed at the first step of sign-artifacts ("Require green CI on the tagged commit") with HTTP 403: Resource not accessible by integration when calling gh run list --workflow CI.
  • That step queries the Actions API, but the job's permissions block only granted contents: read, so the default GITHUB_TOKEN had no access to actions:* endpoints.
  • Adds actions: read to the sign-artifacts job permissions so the CI-gate check can run.

Test plan

  • After merge, re-push/re-tag v0.1.0 and confirm the sign-artifacts job's CI gate step succeeds and the release pipeline proceeds past it.

…query workflow runs

The 'Require green CI on the tagged commit' step calls gh run list against
the Actions API, but the job's permissions block only granted contents:read,
so the default GITHUB_TOKEN got a 403 on GET /actions/workflows and the
v0.1.0 release run failed before building anything.
@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@ifsantana
ifsantana merged commit b70dcf1 into main Aug 14, 2026
1 check passed
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