summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bjorn Lu <bjornlu.dev@gmail.com> 2023-10-09 20:47:06 +0800
committerGravatar GitHub <noreply@github.com> 2023-10-09 20:47:06 +0800
commit33d0be50be6516559c01347692edd80b638a862c (patch)
tree95be42e1c2050c587a9d3a6a5c87e4edc9b6cc06
parent93b092266febfad16a48575f8eee12d5910bf071 (diff)
downloadastro-33d0be50be6516559c01347692edd80b638a862c.tar.gz
astro-33d0be50be6516559c01347692edd80b638a862c.tar.zst
astro-33d0be50be6516559c01347692edd80b638a862c.zip
Fix snapshot release permissions (#8777)
-rw-r--r--.github/workflows/snapshot-release.yml7
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"