Skip to content

Commit b0a2164

Browse files
committed
ci: fix permissions when publishing PR report
1 parent ad0b07f commit b0a2164

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ jobs:
3333
name: Test Auto
3434
runs-on: ubuntu-22.04
3535
permissions:
36-
# Required to publish system test results to the PR
37-
issues: write
38-
pull-requests: write
3936
contents: read
4037
env:
4138
COMPOSE_PROJECT_NAME: ci_${{github.run_id}}_${{github.run_attempt || '1'}}
@@ -106,6 +103,11 @@ jobs:
106103
if: ${{ always() && github.event_name == 'pull_request_target' }}
107104
needs: [approve, test]
108105
runs-on: ubuntu-latest
106+
permissions:
107+
# Required to publish system test results to the PR
108+
issues: write
109+
pull-requests: write
110+
contents: read
109111
steps:
110112
- uses: actions/checkout@v4
111113
- name: Download reports

0 commit comments

Comments
 (0)