Skip to content

Commit

Permalink
Added pull-request: write permission to remove-preview job
Browse files Browse the repository at this point in the history
  • Loading branch information
spoenemann committed Dec 21, 2023
1 parent 5b0e7f3 commit 00e0a6e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 00e0a6e

Please sign in to comment.