Skip to content

Add issues: write permission to bootstrap workflow for label creation#140

Merged
marko-stanojevic merged 2 commits intomainfrom
copilot/fix-labeler-resource-access-error
Apr 7, 2026
Merged

Add issues: write permission to bootstrap workflow for label creation#140
marko-stanojevic merged 2 commits intomainfrom
copilot/fix-labeler-resource-access-error

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 7, 2026

The bootstrap workflow silently failed to create repository labels because github.rest.issues.createLabel requires issues: write, but the workflow only declared contents: write.

Changes

  • .github/workflows/bootstrap.yml: Added issues: write to the top-level permissions block
permissions:
  contents: write
  issues: write  # required for createLabel API

Copilot AI changed the title [WIP] Fix labeler error with resource accessibility fix: add issues: write permission to bootstrap workflow for label creation Apr 7, 2026
Copilot AI requested a review from marko-stanojevic April 7, 2026 16:11
@marko-stanojevic marko-stanojevic marked this pull request as ready for review April 7, 2026 16:46
@github-actions github-actions bot added the ci label Apr 7, 2026
@marko-stanojevic marko-stanojevic changed the title fix: add issues: write permission to bootstrap workflow for label creation Add issues: write permission to bootstrap workflow for label creation Apr 7, 2026
@marko-stanojevic marko-stanojevic merged commit 457889b into main Apr 7, 2026
10 checks passed
@marko-stanojevic marko-stanojevic deleted the copilot/fix-labeler-resource-access-error branch April 7, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Labeler failed with "Resource not accessible by integration"

2 participants