-
Notifications
You must be signed in to change notification settings - Fork 12
Add Dependabot Cargo Vet workflow #2438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2438 +/- ##
==========================================
- Coverage 84.33% 84.31% -0.02%
==========================================
Files 141 141
Lines 10803 10803
==========================================
- Hits 9111 9109 -2
- Misses 1692 1694 +2 Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…e diff handling and Codex integration
…for better risk assessment
User description
Add a new workflow .github/workflows/dependabot-auto-vet.yml that runs on Dependabot PRs, installs cargo-vet, runs
cargo vet --locked, retries with imports, and when audits are still needed hands off to an external agent.If the agent returns audits, the workflow certifies them, re-runs
cargo vet --locked, and commits the changes back to the PR. If no agent is configured or the agent fails, it comments on the PR with the unvetted crates and fails.This wires Dependabot updates into cargo-vet automation while keeping a hook for an AI/human agent to supply audits when required.
PR Type
Enhancement
Description
Automate Dependabot PR vetting with GitHub Actions
Run
cargo vet --lockedand import audits automaticallyInvoke optional external agent for missing audits
Commit agent-provided audits or comment on failures
Diagram Walkthrough
File Walkthrough
dependabot-auto-vet.yml
Create Dependabot cargo-vet workflow.github/workflows/dependabot-auto-vet.yml
VETTING_CONTEXT.md
Extend vetting context guidelinesVETTING_CONTEXT.md
cargo vet certify