Skip to content

Commit

Permalink
Run Trivy scan on PR instead of on the base branch
Browse files Browse the repository at this point in the history
Signed-off-by: Kim Christensen <kimworking@gmail.com>
  • Loading branch information
kichristensen committed May 9, 2024
1 parent 8dec6ac commit b4c4288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
# Dependabot pushes to branches in our repo, not in a fork. This causes the push event to trigger for dependabot PRs and the CodeQL check fails.
- "dependabot/**"
# Only do a security scan on a PR when there are non-doc changes to save time
pull_request_target:
pull_request:
paths-ignore:
- 'docs/**'

Expand Down

0 comments on commit b4c4288

Please sign in to comment.