Skip to content

Commit 7eec902

Browse files
authored
Merge pull request #2061 from holly-cummins/fix-preview
Give preview jobs higher permissions so that preview comments can work
2 parents 6557b8b + 0a03dac commit 7eec902

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/preview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
runs-on: ubuntu-latest
1212
permissions:
1313
actions: read
14-
# this should be enough to maintain comments as commenting on pull requests is done through an issues API
14+
# needed to maintain comments
1515
issues: write
16-
pull-requests: read
16+
pull-requests: write
1717
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
1818
steps:
1919
- name: Download PR Artifact

0 commit comments

Comments
 (0)