Skip to content

Commit 65b65f4

Browse files
committed
reduce permissions granted to the report job
1 parent 21199c5 commit 65b65f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,12 @@ jobs:
108108
109109
generate_report:
110110
name: Publish report
111-
permissions: write-all
112111
if: ${{ always() && github.event_name == 'pull_request_target' }}
113112
continue-on-error: true
114113
needs: [test]
115114
runs-on: ubuntu-latest
115+
permissions:
116+
pull-requests: write
116117
steps:
117118
- uses: actions/checkout@v4
118119
- name: Download reports

0 commit comments

Comments
 (0)