diff --git a/.github/workflows/pr-preview.yml b/.github/workflows/pr-preview.yml index ac46ddc..e1aefee 100644 --- a/.github/workflows/pr-preview.yml +++ b/.github/workflows/pr-preview.yml @@ -87,6 +87,8 @@ jobs: teardown-preview: if: github.event_name == 'pull_request_target' && github.event.action == 'closed' runs-on: ubuntu-latest + # Surge uses WEB_PREVIEW_TOKEN_SURGE; this job needs no GITHUB_TOKEN access. + permissions: {} steps: - name: Install Surge run: npm install -g surge