Skip Trivy security scan for pull requests

Security scanning requires pushed images, which are not available
in PR context. Only run security scans on push events.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jonathan Flatt
2025-05-24 19:01:32 +00:00
parent ea2de29d37
commit 5693d0eecb

View File

@@ -103,6 +103,7 @@ jobs:
name: Security Scanning
runs-on: ubuntu-latest
needs: build
if: github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v4