File tree Expand file tree Collapse file tree 6 files changed +10
-11
lines changed Expand file tree Collapse file tree 6 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 30
30
name : Analyze
31
31
runs-on : ubuntu-latest
32
32
permissions :
33
- actions : read
33
+ actions : read # CodeQL wrote this action.
34
34
contents : read
35
- security-events : write
35
+ security-events : write # CodeQL wrote this action.
36
36
37
37
strategy :
38
38
fail-fast : false
Original file line number Diff line number Diff line change 33
33
name : " Check changed files"
34
34
runs-on : ubuntu-latest
35
35
permissions :
36
- pull-requests : read
36
+ pull-requests : read # Needed for this check to run on pull requests
37
37
outputs :
38
38
run_coverage : ${{ steps.filter.outputs.run_coverage }}
39
39
workflow : ${{ steps.filter.outputs.workflow }}
Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ jobs:
269
269
- non-binary
270
270
runs-on : ubuntu-latest
271
271
permissions :
272
- id-token : write
272
+ id-token : write # Needed for signing artifacts
273
273
steps :
274
274
- name : " Download artifacts"
275
275
uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
Original file line number Diff line number Diff line change 54
54
name : " Publish to Test PyPI"
55
55
if : ${{ github.event.action == 'publish-testpypi' }}
56
56
permissions :
57
- id-token : write
58
- attestations : write
57
+ id-token : write # needed for actions/attest-build-provenance
58
+ attestations : write # needed for actions/attest-build-provenance
59
59
runs-on : " ubuntu-latest"
60
60
environment :
61
61
name : " testpypi"
94
94
name : " Publish to PyPI"
95
95
if : ${{ github.event.action == 'publish-pypi' }}
96
96
permissions :
97
- id-token : write
98
- attestations : write
97
+ id-token : write # needed for actions/attest-build-provenance
98
+ attestations : write # needed for actions/attest-build-provenance
99
99
runs-on : " ubuntu-latest"
100
100
environment :
101
101
name : " pypi"
Original file line number Diff line number Diff line change 30
30
name : " Check changed files"
31
31
runs-on : ubuntu-latest
32
32
permissions :
33
- pull-requests : read
33
+ pull-requests : read # Needed for this check to run on pull requests
34
34
outputs :
35
35
python : ${{ steps.filter.outputs.python }}
36
36
docs : ${{ steps.filter.outputs.docs }}
@@ -161,7 +161,6 @@ jobs:
161
161
runs-on : ubuntu-latest
162
162
permissions :
163
163
contents : read
164
- actions : read
165
164
166
165
needs : changed
167
166
if : ${{ needs.changed.outputs.actions == 'true' || needs.changed.outputs.workflow == 'true' }}
Original file line number Diff line number Diff line change 32
32
name : " Check changed files"
33
33
runs-on : ubuntu-latest
34
34
permissions :
35
- pull-requests : read
35
+ pull-requests : read # Needed for this check to run on pull requests
36
36
outputs :
37
37
run_tests : ${{ steps.filter.outputs.run_tests }}
38
38
steps :
You can’t perform that action at this time.
0 commit comments