Skip to content

fix(ci): skip AI review for Dependabot PRs, ignore rsa advisory - #24

Merged
WillIsback merged 1 commit into
mainfrom
fix/ci-dependabot-and-rsa-audit
May 14, 2026
Merged

WillIsback merged 1 commit into
mainfrom
fix/ci-dependabot-and-rsa-audit

Conversation

@WillIsback

Copy link
Copy Markdown
Owner

Summary

  • Skip AI Code Review for Dependabot PRs — Dependabot only receives Dependabot secrets, not repo secrets. VLLM_URL was always empty on these PRs, causing the job to fail with "vLLM server unreachable". Added github.actor != 'dependabot[bot]' to the if: condition so the job is correctly skipped instead.
  • Add .cargo/audit.toml ignoring RUSTSEC-2023-0071 — octocrab 0.50.0 (PR chore: bump octocrab from 0.41.2 to 0.50.0 #23) pulls in jsonwebtoken → rsa 0.9.x which has the Marvin Attack advisory. No fixed upstream version exists. This project uses PAT auth (not GitHub App JWT signing), so the vulnerable RSA code path is never invoked. Documented with justification.

Fixes

PR Job Before After
#19 #20 #21 #22 AI Code Review FAILURE (empty VLLM_URL) SKIPPED
#23 Build & Test FAILURE (rsa advisory) PASS

Test plan

  • This PR's CI: Build & Test passes, AI Code Review is skipped (it's from a non-Dependabot actor so it will actually run — that's expected)
  • After merge, retrigger a Dependabot PR to confirm AI Code Review shows as SKIPPED
  • After merge, PR chore: bump octocrab from 0.41.2 to 0.50.0 #23 can be rebased/retriggered to confirm cargo audit passes

🤖 Generated with Claude Code

Dependabot PRs only receive Dependabot secrets — repo secrets like
VLLM_URL are never injected, so the AI Code Review job was always
failing with "vLLM server unreachable". Add `github.actor !=
'dependabot[bot]'` to skip it for automated dependency bumps.

Add .cargo/audit.toml to ignore RUSTSEC-2023-0071 (Marvin Attack in
rsa 0.9.x). No fixed version exists upstream; the vulnerable RSA path
is only reachable via GitHub App JWT signing, which this project does
not use (PAT auth only). This unblocks the octocrab 0.50.0 bump (PR #23).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@WillIsback
WillIsback merged commit b88b22e into main May 14, 2026
2 checks passed
@WillIsback
WillIsback deleted the fix/ci-dependabot-and-rsa-audit branch May 15, 2026 16:45
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