Skip to content

ci: add actions:read permission for BitGo/build-system resolution#259

Merged
zahin-mohammad merged 1 commit into
masterfrom
wcn-1601-fix-akm-release-ghcr-build-system
Jul 23, 2026
Merged

ci: add actions:read permission for BitGo/build-system resolution#259
zahin-mohammad merged 1 commit into
masterfrom
wcn-1601-fix-akm-release-ghcr-build-system

Conversation

@bitgo-ai-agent-dev

Copy link
Copy Markdown

What

  • Add actions: read to the workflow-level permissions block in .github/workflows/release-to-ghcr.yaml

Why

  • The Trigger demo-kms-api release to GHCR job (added in WCN-1101) uses the private action BitGo/build-system/get-github-token@v6. GitHub Actions requires the actions: read permission to resolve and download actions from private repositories in the same organisation.
  • Without it, the runner fails during "Set up job" before any step executes with: Unable to resolve action 'bitgo/build-system', not found
  • This caused the last two release runs (2026-07-08 and 2026-07-23) to fail on this job.
  • The pull_request.yaml workflow already carries this permission with the comment "required by BitGo/build-system"; this PR brings release-to-ghcr.yaml into alignment.

Test plan

  • Merge and trigger a workflow_dispatch run of "Release to GHCR" — the Trigger demo-kms-api release to GHCR job should now reach "Get GitHub token" instead of failing at "Set up job"

Ticket: WCN-1601

The trigger-demo-kms-api-release job uses the private action
BitGo/build-system/get-github-token@v6. GitHub Actions requires
the actions:read permission to download actions from private
repositories in the same organisation; without it, the runner
fails during "Set up job" with:

  Unable to resolve action `bitgo/build-system`, not found

The pull_request.yaml workflow already includes this permission
with the comment "required by BitGo/build-system". This commit
brings release-to-ghcr.yaml into alignment.

The two consecutive release failures (2026-07-08 and 2026-07-23)
both hit this error after the trigger-demo-kms-api-release job
was introduced in commit 10e8df0.

Ticket: WCN-1601
Session-Id: 631b2036-5e16-4817-bc5e-f857c5f78c35
Task-Id: ced76a25-0fc3-45b7-b60b-444e751592da
@linear-code

linear-code Bot commented Jul 23, 2026

Copy link
Copy Markdown

WCN-1601

@bitgo-ai-agent-dev
bitgo-ai-agent-dev Bot force-pushed the wcn-1601-fix-akm-release-ghcr-build-system branch from fa5bd44 to 05fa1f8 Compare July 23, 2026 17:18
@zahin-mohammad
zahin-mohammad marked this pull request as ready for review July 23, 2026 17:20
@zahin-mohammad
zahin-mohammad requested review from a team as code owners July 23, 2026 17:20

@danielpeng1 danielpeng1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@zahin-mohammad
zahin-mohammad enabled auto-merge July 23, 2026 17:21
@zahin-mohammad
zahin-mohammad merged commit 3d216c5 into master Jul 23, 2026
22 checks passed
@zahin-mohammad
zahin-mohammad deleted the wcn-1601-fix-akm-release-ghcr-build-system branch July 23, 2026 17:22
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.

4 participants