From a75f6213ddf4b69ae15ee027c0a59101f9424aa3 Mon Sep 17 00:00:00 2001 From: bluwy Date: Mon, 9 Oct 2023 16:55:47 +0800 Subject: [PATCH] Fix snapshot release permissions --- .github/workflows/snapshot-release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/snapshot-release.yml b/.github/workflows/snapshot-release.yml index 8fce35f427ec..ad3968e211da 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"