ci: fix permissions

This commit is contained in:
winston 2023-12-28 11:47:40 +01:00
parent 8c506c7526
commit 7750312691
No known key found for this signature in database
GPG Key ID: 3786770EDBC2B481
1 changed files with 5 additions and 5 deletions

View File

@ -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
@ -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