Skip to content

Commit

Permalink
fix: fix release permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
muhlba91 committed Nov 9, 2023
1 parent e9f4b73 commit 2c16420
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
- main

permissions:
contents: read
pull-requests: read
contents: write
pull-requests: write
packages: write
id-token: write

Expand All @@ -22,9 +22,6 @@ jobs:
outputs:
release_created: ${{ steps.release.outputs.releases_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
permissions:
contents: write
pull-requests: write

steps:
- uses: google-github-actions/release-please-action@v3
Expand All @@ -36,9 +33,6 @@ jobs:
if: needs.release.outputs.release_created
runs-on: ubuntu-latest
name: Publish Provider
permissions:
id-token: write
contents: write
needs:
- release
strategy:
Expand Down

0 comments on commit 2c16420

Please sign in to comment.