fix(ci): add contents:write permission for release job to push tags
This commit is contained in:
parent
bde7a82224
commit
87989b899d
1 changed files with 2 additions and 0 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -93,6 +93,8 @@ jobs:
|
||||||
needs: test
|
needs: test
|
||||||
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
|
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
outputs:
|
outputs:
|
||||||
new_tag: ${{ steps.version.outputs.new_tag }}
|
new_tag: ${{ steps.version.outputs.new_tag }}
|
||||||
new_version: ${{ steps.version.outputs.new_version }}
|
new_version: ${{ steps.version.outputs.new_version }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue