Skip to content

Commit

Permalink
fix: added missing permissions in publication pipeline (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
UlisesGascon authored Jun 30, 2023
1 parent c85cbed commit c093a69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
permissions:
contents: write # to create release commit
pull-requests: write # to create release PR
id-token: write

runs-on: ubuntu-latest

Expand All @@ -36,6 +35,8 @@ jobs:
runs-on: ubuntu-latest

needs: [release-please]
permissions:
id-token: write

# this if statements ensure that a publication only occurs when a new release is created:
if: ${{ needs.release-please.outputs.release_created }}
Expand Down

0 comments on commit c093a69

Please sign in to comment.