Skip to content

Commit

Permalink
Merge pull request #2061 from holly-cummins/fix-preview
Browse files Browse the repository at this point in the history
Give preview jobs higher permissions so that preview comments can work
  • Loading branch information
gsmet authored Aug 1, 2024
2 parents 6557b8b + 0a03dac commit 7eec902
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 7eec902

Please sign in to comment.