diff options
author | 2023-10-09 20:47:06 +0800 | |
---|---|---|
committer | 2023-10-09 20:47:06 +0800 | |
commit | 33d0be50be6516559c01347692edd80b638a862c (patch) | |
tree | 95be42e1c2050c587a9d3a6a5c87e4edc9b6cc06 | |
parent | 93b092266febfad16a48575f8eee12d5910bf071 (diff) | |
download | astro-33d0be50be6516559c01347692edd80b638a862c.tar.gz astro-33d0be50be6516559c01347692edd80b638a862c.tar.zst astro-33d0be50be6516559c01347692edd80b638a862c.zip |
Fix snapshot release permissions (#8777)
-rw-r--r-- | .github/workflows/snapshot-release.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/snapshot-release.yml b/.github/workflows/snapshot-release.yml index 8fce35f42..ad3968e21 100644 --- a/.github/workflows/snapshot-release.yml +++ b/.github/workflows/snapshot-release.yml @@ -20,9 +20,10 @@ jobs: if: ${{ github.repository_owner == 'withastro' && github.event.issue.pull_request && startsWith(github.event.comment.body, '!preview') }} runs-on: ubuntu-latest permissions: - contents: read - id-token: write - issues: write + contents: read + id-token: write + issues: write + pull-requests: write steps: - name: "Check if user has admin access (only admins can publish snapshot releases)." uses: "lannonbr/repo-permission-check-action@2.0.0" |