File tree 1 file changed +7
-9
lines changed
1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 54
54
description : Command to run after test commands.
55
55
required : false
56
56
type : string
57
-
57
+ # keep permissions at top level because this is a composite workflow
58
+ permissions :
59
+ checks : read
60
+ contents : read
61
+ id-token : write
62
+ packages : write # some tox environments might produce containers
63
+ pull-requests : write # allow codenotify to comment on pull-request
58
64
env :
59
65
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # might be needed by tox commands
60
66
FORCE_COLOR : 1 # tox, pytest, ansible-lint
89
95
defaults :
90
96
run :
91
97
shell : ${{ matrix.shell || 'bash'}}
92
- permissions :
93
- packages : write # some tox environments might produce containers
94
98
strategy :
95
99
fail-fast : false
96
100
matrix : ${{ fromJson(needs.prepare.outputs.matrix) }}
@@ -176,12 +180,6 @@ jobs:
176
180
check :
177
181
if : always()
178
182
environment : ${{ inputs.environment }}
179
- permissions :
180
- checks : read
181
- contents : read
182
- id-token : write
183
- pull-requests : write # allow codenotify to comment on pull-request
184
-
185
183
needs :
186
184
- test
187
185
runs-on : ubuntu-24.04
You can’t perform that action at this time.
0 commit comments