Skip to content

Commit 3d0ba9e

Browse files
Merge pull request #60 from jaymzh/fix-broken-ci
Grype cannot run on PRs (including Dependabot) as it requires secrets
2 parents 2ae5bef + 0c781bd commit 3d0ba9e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci-main-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ jobs:
10511051

10521052
run-grype-hab-package-scan:
10531053
name: 'Grype scan Habitat packages from bldr.habitat.sh'
1054-
if: ${{ inputs.perform-grype-hab-scan == true }}
1054+
if: ${{ inputs.perform-grype-hab-scan == true && github.event_name == 'push' }}
10551055
uses: chef/common-github-actions/.github/workflows/grype-hab-package-scan.yml@main
10561056
needs: checkout
10571057
secrets: inherit

0 commit comments

Comments
 (0)