Skip to content

Add issues: write permission to CI build job - #43

Merged
Mpdreamz merged 1 commit into
masterfrom
fix/ci-release-permissions
Jun 1, 2026
Merged

Add issues: write permission to CI build job#43
Mpdreamz merged 1 commit into
masterfrom
fix/ci-release-permissions

Conversation

@Mpdreamz

@Mpdreamz Mpdreamz commented Jun 1, 2026

Copy link
Copy Markdown
Member

The `release-notes` tool creates GitHub issue labels as part of generating release notes (categorising changes by `enhancement`, `bug`, `documentation`). This hits the `POST /repos/{owner}/{repo}/labels` endpoint which requires `issues: write`.

The `build` job only had `contents: write` and `packages: write`, causing a 403 on tag-push runs:

```
{"message":"Resource not accessible by integration",
"documentation_url":"https://docs.github.com/rest/issues/labels#create-a-label",
"status":"403"}
```

Adds `issues: write` to fix this.

Ref: https://github.com/editorconfig/editorconfig-core-net/actions/runs/26766469309/job/78894585322

🤖 Generated with Claude Code

The release-notes tool creates GitHub issue labels when generating release
notes (for categorising by enhancement/bug/docs). This requires issues: write
which was missing, causing a 403 on tag-push release creation.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Mpdreamz
Mpdreamz merged commit 7557ef2 into master Jun 1, 2026
9 checks passed
@Mpdreamz
Mpdreamz deleted the fix/ci-release-permissions branch June 1, 2026 16:09
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