File tree Expand file tree Collapse file tree 5 files changed +15
-5
lines changed Expand file tree Collapse file tree 5 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -246,7 +246,9 @@ runs:
246246 if-no-files-found : ignore
247247 - name : Generate provenance attestation
248248 if : >-
249- ${{ inputs.provenance == 'true' && steps.build.outputs.deployed == 'true' &&
249+ ${{ inputs.provenance == 'true' &&
250+ github.event_name != 'pull_request' &&
251+ steps.build.outputs.deployed == 'true' &&
250252 (inputs.provenance-artifact-paths != '' || steps.build.outputs.artifact-paths != '') }}
251253 uses : actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
252254 with :
Original file line number Diff line number Diff line change @@ -177,7 +177,9 @@ runs:
177177
178178 - name : Generate provenance attestation
179179 if : >-
180- ${{ inputs.provenance == 'true' && steps.build.outputs.deployed == 'true' &&
180+ ${{ inputs.provenance == 'true' &&
181+ github.event_name != 'pull_request' &&
182+ steps.build.outputs.deployed == 'true' &&
181183 (inputs.provenance-artifact-paths != '' || steps.build.outputs.artifact-paths != '') }}
182184 uses : actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
183185 with :
Original file line number Diff line number Diff line change @@ -172,7 +172,9 @@ runs:
172172
173173 - name : Generate provenance attestation
174174 if : >-
175- ${{ inputs.provenance == 'true' && steps.build.outputs.deployed == 'true' &&
175+ ${{ inputs.provenance == 'true' &&
176+ github.event_name != 'pull_request' &&
177+ steps.build.outputs.deployed == 'true' &&
176178 (inputs.provenance-artifact-paths != '' || steps.build.outputs.artifact-paths != '') }}
177179 uses : actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
178180 with :
Original file line number Diff line number Diff line change @@ -165,7 +165,9 @@ runs:
165165
166166 - name : Generate provenance attestation
167167 if : >-
168- ${{ inputs.provenance == 'true' && steps.build.outputs.deployed == 'true' &&
168+ ${{ inputs.provenance == 'true' &&
169+ github.event_name != 'pull_request' &&
170+ steps.build.outputs.deployed == 'true' &&
169171 (inputs.provenance-artifact-paths != '' || steps.build.outputs.artifact-paths != '') }}
170172 uses : actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
171173 with :
Original file line number Diff line number Diff line change @@ -162,7 +162,9 @@ runs:
162162 run : $ACTION_PATH_BUILD_YARN/build.sh
163163 - name : Generate provenance attestation
164164 if : >-
165- ${{ inputs.provenance == 'true' && steps.build.outputs.deployed == 'true' &&
165+ ${{ inputs.provenance == 'true' &&
166+ github.event_name != 'pull_request' &&
167+ steps.build.outputs.deployed == 'true' &&
166168 (inputs.provenance-artifact-paths != '' || steps.build.outputs.artifact-paths != '') }}
167169 uses : actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
168170 with :
You can’t perform that action at this time.
0 commit comments