Skip to content

Commit

Permalink
ci: fix permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
nekowinston committed Dec 28, 2023
1 parent 8c506c7 commit 7750312
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ on:
push:
branches: [main]

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

jobs:
release-please:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: google-github-actions/release-please-action@v4
id: release
Expand All @@ -20,9 +23,6 @@ jobs:
runs-on: ubuntu-latest
needs: release-please
if: ${{ needs.release-please.outputs.release_created }}
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit 7750312

Please sign in to comment.