diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index de25299f..5c5a2d0c 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -1,7 +1,7 @@ name: Deploy PR previews on: - pull_request: + pull_request_target: types: - opened - synchronize @@ -10,6 +10,10 @@ on: concurrency: preview-${{ github.ref }} +permissions: + contents: write + pull-requests: write + defaults: run: shell: bash