Skip to content

fix: run Snyk scan on dependabot PRs#1154

Merged
yogeshchoudhary147 merged 1 commit into
mainfrom
fix/snyk-run-on-dependabot-prs
Jul 9, 2026
Merged

fix: run Snyk scan on dependabot PRs#1154
yogeshchoudhary147 merged 1 commit into
mainfrom
fix/snyk-run-on-dependabot-prs

Conversation

@yogeshchoudhary147

@yogeshchoudhary147 yogeshchoudhary147 commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Removes the dependabot[bot] actor skip condition from the Snyk workflow so vulnerability scanning runs on dependency update PRs
  • The merge_group skip is retained as-is

Test plan

  • Verify a dependabot PR triggers the Snyk scan after merging

Summary by CodeRabbit

  • Chores
    • Updated the vulnerability check workflow so it only skips in merge queue runs, while still completing successfully for required status checks.

@yogeshchoudhary147
yogeshchoudhary147 requested a review from a team as a code owner July 9, 2026 04:00
@coderabbitai

coderabbitai Bot commented Jul 9, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 0bc3c1af-c0e8-426e-be90-6e6064f8ed2f

📥 Commits

Reviewing files that changed from the base of the PR and between 496a926 and dc8dde1.

📒 Files selected for processing (1)
  • .github/workflows/snyk.yml

📝 Walkthrough

Walkthrough

This change modifies the Snyk GitHub Actions workflow to narrow the early-exit condition for the vulnerability check step, now skipping only for merge_group events instead of both dependabot[bot] actor and merge_group events.

Changes

Snyk Workflow Condition Change

Layer / File(s) Summary
Update skip condition for Snyk check
.github/workflows/snyk.yml
The early-exit condition is narrowed to skip only when the event is merge_group, removing the prior check for the dependabot[bot] actor, while the step still exits successfully.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the main change: Snyk scans now run on Dependabot PRs.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/snyk-run-on-dependabot-prs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@yogeshchoudhary147
yogeshchoudhary147 merged commit a275cab into main Jul 9, 2026
14 of 15 checks passed
@yogeshchoudhary147
yogeshchoudhary147 deleted the fix/snyk-run-on-dependabot-prs branch July 9, 2026 04: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.

2 participants