Skip to content

Commit b03e50e

Browse files
authored
Merge pull request #13 from AS-Devs/upgrade/bugfix-plan
ci: fix publish job permissions for semantic-release
2 parents 0edf8db + e6e0de1 commit b03e50e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ jobs:
2828
if: ${{ github.ref == 'refs/heads/main' }}
2929
needs: [ quality ]
3030
permissions:
31-
contents: read
32-
id-token: write # ← required for OIDC trusted publishing
31+
contents: write # semantic-release needs to push version tags back to main
32+
issues: write # semantic-release comments on GitHub issues
33+
pull-requests: write # semantic-release comments on PRs
34+
id-token: write # OIDC trusted publishing
3335
steps:
3436
- uses: actions/checkout@v4
3537
- name: Use Node.js (LTS)

0 commit comments

Comments
 (0)