Skip to content

Commit 7abc3ee

Browse files
jeremyederclaude
andcommitted
fix(ci): add workflows:write permission to amber-issue-handler
The amber-handler job fails at the "Push branch to remote" step when Amber creates or modifies files under .github/workflows/. GitHub requires the explicit `workflows` permission for any token that touches workflow files, even if `contents: write` is already granted. Ref: https://github.com/ambient-code/platform/actions/runs/21777412886/job/62836130769 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 1edccc0 commit 7abc3ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/amber-issue-handler.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ permissions:
2929
contents: write
3030
issues: write
3131
pull-requests: write
32-
id-token: write # Required for OIDC token (Bedrock/Vertex/Foundry/OAuth)
32+
id-token: write # Required for OIDC token (Bedrock/Vertex/Foundry/OAuth)
33+
workflows: write # Required to create/update GitHub Actions workflow files
3334

3435
jobs:
3536
amber-handler:

0 commit comments

Comments
 (0)