with one click
github-actions-dependabot-review
// Review Dependabot PRs updating GitHub Actions workflows/actions, with a security-focused upstream diff check before commenting.
// Review Dependabot PRs updating GitHub Actions workflows/actions, with a security-focused upstream diff check before commenting.
Review Dependabot PRs updating Rust/Cargo crates with a security-focused crates.io tarball diff before commenting.
Must read before submitting PRs to Fedimint project
Triage stale GitHub PRs. Use when asked to review old, inactive, least-recently-updated, obsolete, or closeable pull requests, comment with a recommendation, and close PRs that are clearly no longer useful.
Use this skill when the user asks about Fedimint gateway liquidity management, lightning channels, gateway balances, routing fees, peg-in, peg-out, channel opening/closing, payment logs, invoices, or any gateway-cli operations. Triggers on: "gateway", "liquidity", "channels", "routing fees", "peg-in", "peg-out", "ecash balance", "lightning balance", "open channel", "close channel", "set fees", "payment summary", "invoice", "gateway-cli".
| name | github-actions-dependabot-review |
| description | Review Dependabot PRs updating GitHub Actions workflows/actions, with a security-focused upstream diff check before commenting. |
Use when asked to review Dependabot PRs for GitHub Actions updates.
gh auth status
gh pr list -R OWNER/REPO --state open --author app/dependabot \
--json number,title,headRefName,url --limit 100
Target PRs usually have github_actions in the branch name or a title like bump OWNER/ACTION from OLD to NEW.
Delegate one subagent per PR. For each PR:
gh pr view PR -R OWNER/REPO --json reviews,comments,reviewDecision
If yes, stop for that PR.
gh pr view PR -R OWNER/REPO --json title,body,files,commits,url
gh pr diff PR -R OWNER/REPO
tmp=$(mktemp -d)
git clone https://github.com/OWNER/ACTION "$tmp/action"
cd "$tmp/action"
git rev-parse OLD
git rev-parse NEW
git diff --stat OLD..NEW
git diff OLD..NEW
If dependency manifests or lockfiles change (package-lock.json, Cargo.lock, etc.), review each dependency update similarly. If the dependency diff is too large or infeasible, at least check metadata on the relevant registry (npm, crates.io, etc.) and verify the new version is at least a week old. Raise anything not clearly safe as a concern in the PR comment.
OK to merge / not OK to merge recommendation.gh pr comment PR -R OWNER/REPO --body-file COMMENT.md
Summarize PR link, whether it was already reviewed, whether a comment was posted, and the recommendation.