Fix the ability to create GitHub releases in our own workflow (#614)

This commit is contained in:
Mateusz Burzyński
2026-05-07 10:05:44 +00:00
committed by GitHub
parent 84c24326ac
commit ccba80bb5a
+3
View File
@@ -40,6 +40,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment: marketplace environment: marketplace
timeout-minutes: 20 timeout-minutes: 20
permissions:
contents: write # to create release and have it authored by github-actions (changesets/action)
steps: steps:
- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1 - uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
id: app-token id: app-token
@@ -49,6 +51,7 @@ jobs:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
# we need this token to bypass the branch and tag protection rules
token: ${{ steps.app-token.outputs.token }} token: ${{ steps.app-token.outputs.token }}
- uses: ./.github/actions/ci-setup - uses: ./.github/actions/ci-setup