Skip to content

ci: expand OIDC permissions for release workflow#232

Merged
jairo-bc merged 1 commit intomasterfrom
ci/oidc-release-workflow-improvements
Apr 1, 2026
Merged

ci: expand OIDC permissions for release workflow#232
jairo-bc merged 1 commit intomasterfrom
ci/oidc-release-workflow-improvements

Conversation

@jairo-bc
Copy link
Copy Markdown
Contributor

@jairo-bc jairo-bc commented Apr 1, 2026

What/Why?

Expand the OIDC permissions block in release.yml to include all scopes required by @semantic-release/github:

  • issues: write — allows semantic-release to comment on released issues
  • pull-requests: write — allows semantic-release to comment on released pull requests
  • Added inline comments to each permission for clarity

Rollout/Rollback

CI/CD configuration change only. Rollback by reverting this PR.

Testing

Verify the next merge to master triggers the release workflow and completes successfully, including issue/PR comments from semantic-release.


Note

Low Risk
CI configuration-only change that broadens GitHub token scopes for the release workflow; low functional risk but increases permission surface area.

Overview
Updates .github/workflows/release.yml to expand the permissions block for the release job.

Adds issues: write and pull-requests: write (and clarifying inline comments) so semantic-release can comment on released issues/PRs, while keeping contents: write for GitHub releases and id-token: write for OIDC/provenance publishing.

Written by Cursor Bugbot for commit 6a4e542. This will update automatically on new commits. Configure here.

Add issues:write and pull-requests:write permissions needed by
@semantic-release/github to comment on released issues and PRs.
Add inline comments to clarify the purpose of each permission.

Co-Authored-By: Claude <noreply@anthropic.com>
@jairo-bc jairo-bc marked this pull request as ready for review April 1, 2026 09:21
@jairo-bc jairo-bc merged commit 4832b7d into master Apr 1, 2026
4 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

🎉 This PR is included in version 6.21.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants