Skip to content

Commit

Permalink
Give preview jobs higher permissions so that preview comments can work
Browse files Browse the repository at this point in the history
  • Loading branch information
holly-cummins committed Jul 31, 2024
1 parent 8711a6b commit 0a03dac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
runs-on: ubuntu-latest
permissions:
actions: read
# this should be enough to maintain comments as commenting on pull requests is done through an issues API
# needed to maintain comments
issues: write
pull-requests: read
pull-requests: write
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
steps:
- name: Download PR Artifact
Expand Down

0 comments on commit 0a03dac

Please sign in to comment.