File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1300,7 +1300,7 @@ jobs:
13001300
13011301 BlackDuck-Polaris-SAST :
13021302 name : ' BlackDuck Polaris SAST scan'
1303- if : ${{ inputs.perform-blackduck-polaris }}
1303+ if : ${{ inputs.perform-blackduck-polaris && github.event_name == 'push' } }}
13041304 uses : chef/common-github-actions/.github/workflows/polaris-sast.yml@main
13051305 needs : checkout
13061306 secrets : inherit
@@ -1576,7 +1576,7 @@ jobs:
15761576 github-branch-name : ${{ inputs.github-branch-name }}
15771577 version : ${{ inputs.version }}
15781578 export-github-sbom : ${{ inputs.export-github-sbom }}
1579- perform-blackduck-sca-scan : ${{ inputs.perform-blackduck-sca-scan }}
1579+ perform-blackduck-sca-scan : ${{ inputs.perform-blackduck-sca-scan && github.event_name == 'push' } }}
15801580 # generate-blackduck-sbom: ${{ inputs.generate-blackduck-sbom }} # obsolete, remove TODO
15811581 blackduck-project-group-name : ${{ inputs.blackduck-project-group-name }}
15821582 blackduck-project-name : ${{ inputs.blackduck-project-name }}
You can’t perform that action at this time.
0 commit comments