Skip to content

Commit 6c68a1e

Browse files
kdy1claude
andauthored
chore(ci): Add issues write permission for milestone management (#11204)
## Summary - Adds `issues: write` permission to the publish workflow to fix milestone management failures ## Problem The "Manage milestone" step in the publish workflow was failing with: ``` ❌ Error managing milestone: Resource not accessible by integration ``` This occurred because the workflow lacked the necessary permissions to create and modify GitHub milestones through the API. ## Solution Added `issues: write` permission to the workflow's permission block. This grants the workflow the required access to: - Create new milestones for releases - Update milestone assignments on issues and PRs - Move items from the "Planned" milestone to version-specific milestones ## Test plan - [x] Verified the error message in the failed workflow run: https://github.com/swc-project/swc/actions/runs/18902190295/job/53971293509 - [ ] Confirm the workflow runs successfully with the new permission 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <[email protected]>
1 parent 71dc547 commit 6c68a1e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ env:
1616
permissions:
1717
contents: write
1818
id-token: write
19+
issues: write
1920

2021
on:
2122
workflow_dispatch:

0 commit comments

Comments
 (0)