Repository navigation
ci: start an advisory agent when cargo-deny fails on master - #2707
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f0535ffc11
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
When the scheduled cargo-deny run fails its advisories job on master, the workflow extracts the RustSec diagnostics from the job log and starts a Claude Managed Agents session. The agent upgrades the affected dependencies, or proposes an ignore with a reason in a separate pull request when no fix exists. Advisories already named in an open pull request title are skipped, so a pending fix does not start a new session every day. The job authenticates to Anthropic through Workload Identity Federation; its federation rule accepts only this workflow file on master, run by workflow_run. The session uses the AGENT_GITHUB_TOKEN secret as its repository credential. Change-Id: I21c07f840023efa8a0f34d58306344b2b0ae410e
f0535ff to
a9fe8cb
Compare
✅ Merged into
|
When the scheduled cargo-deny run fails its advisories job on master, the
workflow extracts the RustSec diagnostics from the job log and starts a Claude
Managed Agents session. The agent upgrades the affected dependencies, or
proposes an ignore with a reason in a separate pull request when no fix
exists. Advisories already named in an open pull request title are skipped,
so a pending fix does not start a new session every day.
The job authenticates to Anthropic through Workload Identity Federation; its
federation rule accepts only this workflow file on master, run by
workflow_run. The session uses the AGENT_GITHUB_TOKEN secret as its
repository credential.
Change-Id: I21c07f840023efa8a0f34d58306344b2b0ae410e