Skip to content

fix: add write permissions to milestone-autoclose workflow#92

Merged
raincamp merged 1 commit intomainfrom
fix/workflow-permissions
Jan 14, 2026
Merged

fix: add write permissions to milestone-autoclose workflow#92
raincamp merged 1 commit intomainfrom
fix/workflow-permissions

Conversation

@raincamp
Copy link
Owner

Summary

Add explicit permissions to the milestone-autoclose workflow to fix the 403 error.

Error

RequestError [HttpError]: Resource not accessible by integration

Fix

Add permissions block:

permissions:
  issues: write
  pull-requests: write

This allows the workflow to close milestones and add comments.

🤖 Generated with Claude Code

Add permissions block to allow the workflow to:
- Close milestones (issues: write)
- Add comments on issues (issues: write)

This fixes the "Resource not accessible by integration" error.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@raincamp raincamp merged commit 741c836 into main Jan 14, 2026
@raincamp raincamp deleted the fix/workflow-permissions branch January 14, 2026 22:30
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

Comments