File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 3737
3838 - name : Attest GitHub build provenance
3939 uses : actions/attest-build-provenance@v2
40+ # Don't attest from forks
41+ if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
4042 with :
4143 subject-path : dist/*.tar.gz
4244
8284
8385 - name : Attest GitHub build provenance
8486 uses : actions/attest-build-provenance@v2
87+ # Don't attest from forks
88+ if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
8589 with :
8690 subject-path : ./wheelhouse/*.whl
8791
@@ -117,6 +121,8 @@ jobs:
117121
118122 - name : Attest GitHub build provenance
119123 uses : actions/attest-build-provenance@v2
124+ # Don't attest from forks
125+ if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
120126 with :
121127 subject-path : dist/*.whl
122128
You can’t perform that action at this time.
0 commit comments