Commit 6c68a1e
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
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments