diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 24a6a9f5..e946636d 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -69,6 +69,8 @@ jobs: remove-preview: if: github.event_name == 'pull_request_target' && github.event.action == 'closed' runs-on: ubuntu-latest + permissions: + pull-requests: write steps: # checkout required for pr-preview-action to succeed, # while the content will not be used