Skip to content

[codex] Run dependency review only for pull requests#68

Merged
sphildreth merged 1 commit into
mainfrom
codex/dependency-review-pr-only
May 1, 2026
Merged

[codex] Run dependency review only for pull requests#68
sphildreth merged 1 commit into
mainfrom
codex/dependency-review-pr-only

Conversation

@sphildreth
Copy link
Copy Markdown
Collaborator

Summary

Restrict the Dependency Review job in the security scanning workflow to pull request events.

Root Cause

The actions/dependency-review-action@v4 step failed on the post-merge push workflow because push events do not provide the base/head refs the action requires unless they are configured explicitly. The workflow already has separate NuGet and container vulnerability scans for main pushes, and both passed in the failing run.

Validation

  • git diff --check
  • Inspected failing run 25227874889 with gh run view --log-failed

Impact

PRs still run dependency review. Pushes to main skip that PR-specific job and continue running NuGet and container vulnerability scans.

@sphildreth sphildreth marked this pull request as ready for review May 1, 2026 19:06
@sphildreth sphildreth merged commit ae7dc6f into main May 1, 2026
12 of 13 checks passed
@sphildreth sphildreth deleted the codex/dependency-review-pr-only branch May 1, 2026 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant