File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 37
37
38
38
- name : Attest GitHub build provenance
39
39
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
40
42
with :
41
43
subject-path : dist/*.tar.gz
42
44
82
84
83
85
- name : Attest GitHub build provenance
84
86
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
85
89
with :
86
90
subject-path : ./wheelhouse/*.whl
87
91
@@ -117,6 +121,8 @@ jobs:
117
121
118
122
- name : Attest GitHub build provenance
119
123
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
120
126
with :
121
127
subject-path : dist/*.whl
122
128
You can’t perform that action at this time.
0 commit comments