Skip to content

Commit

Permalink
fix(ci): more permissions for release (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
UncleGedd authored Aug 1, 2024
1 parent 410ce9b commit 3695630
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/tag-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ on:

jobs:
tag-new-version:
permissions:
contents: write
pull-requests: write
permissions: write-all
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release-flag.outputs.release_created }}
Expand All @@ -25,8 +23,9 @@ jobs:

release:
permissions:
contents: read
contents: write
packages: write
id-token: write
needs: tag-new-version
if: ${{ needs.tag-new-version.outputs.release_created == 'true'}}
runs-on: ubuntu-latest
Expand Down

0 comments on commit 3695630

Please sign in to comment.