Skip to content

fix(ci): add issues:write permission for stale PR workflow#52

Merged
sleistner merged 1 commit into
masterfrom
fix/stale-pr-permissions
Apr 16, 2026
Merged

fix(ci): add issues:write permission for stale PR workflow#52
sleistner merged 1 commit into
masterfrom
fix/stale-pr-permissions

Conversation

@sleistner
Copy link
Copy Markdown
Contributor

Changes

  • Add issues: write permission to the stale PR workflow
  • actions/stale uses the Issues API to add labels and comments on PRs, so pull-requests: write alone is insufficient

Test plan

  • Trigger via workflow_dispatch and verify stale PRs get labeled without permission errors

Special Handling

  • This PR requires user testing
  • Include this PR in the changelog

actions/stale uses the Issues API to add labels and comments on PRs,
so issues:write is required in addition to pull-requests:write.
@sleistner sleistner merged commit d12b6c6 into master Apr 16, 2026
1 check passed
@sleistner sleistner deleted the fix/stale-pr-permissions branch April 16, 2026 13:43
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