diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 9e77499d..23856348 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -1,14 +1,16 @@ name: Deploy PR previews to GitHub Pages concurrency: preview-${{ github.ref }} on: - pull_request: + pull_request_target: types: - opened - reopened - synchronize - closed + permissions: contents: write + pull-requests: write jobs: deploy-preview: runs-on: ubuntu-latest