Skip to content

ci: add dependabot config for action updates and cargo security updates - #15109

Open
avi-starkware wants to merge 1 commit into
avi/deps/01-cargo-lock-advisoriesfrom
avi/deps/03-dependabot
Open

avi-starkware wants to merge 1 commit into
avi/deps/01-cargo-lock-advisoriesfrom
avi/deps/03-dependabot

Conversation

@avi-starkware

@avi-starkware avi-starkware commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

Adds .github/dependabot.yml:

  • github-actions, weekly, one grouped PR. All actions are now SHA-pinned, so nothing moves them otherwise; Dependabot rewrites the SHA and the same-line # vX comment. Note: Dependabot does not raise security alerts for SHA-pinned actions — only this weekly version group moves them.
  • cargo, security updates only: open-pull-requests-limit: 0 disables version updates while security updates are unaffected; grouped via applies-to: security-updates.
  • No pip: the requirements.txt files are pip freeze outputs generated from *-gen.txt; Dependabot editing the frozen file would desync it from its definition.

Reviewer check needed: the cargo block only does anything if Dependabot security updates is enabled in Settings → Code security (admin-only to read; state unknown from a non-admin token).

Dependabot PRs can't read repo secrets; optimize_ci degrades gracefully (Graphite action logs a 401 warning and sets skip=false), so their CI runs normally.

🤖 Generated with Claude Code

@reviewable-StarkWare

Copy link
Copy Markdown

This change is Reviewable

@avi-starkware
avi-starkware added this pull request to stack #15113 September 10, 2026 13:06
@avi-starkware
avi-starkware removed this pull request from stack #15113 September 14, 2026 09:54
@avi-starkware
avi-starkware added this pull request to stack #15116 September 14, 2026 09:55
Weekly grouped updates for GitHub Actions, which are all SHA-pinned and would otherwise
never move, and Cargo pull requests for security advisories only. No pip ecosystem: the
requirements.txt files are pip-freeze snapshots generated from *-gen.txt files, and
Dependabot editing the frozen file would desync it from its definition.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@avi-starkware
avi-starkware marked this pull request as ready for review September 14, 2026 11:15
@cursor

cursor Bot commented Sep 14, 2026

Copy link
Copy Markdown

PR Summary

Low Risk
Adds CI automation config only; no application, auth, or runtime code changes. Cargo security PRs depend on org/repo Dependabot security settings being enabled.

Overview
Adds Dependabot via .github/dependabot.yml so dependency maintenance is automated with explicit guardrails.

GitHub Actions get weekly grouped PRs (up to 5 open) to bump SHA-pinned actions and their inline # vX comments. Cargo is limited to security advisories onlyopen-pull-requests-limit: 0 blocks routine version bumps while still allowing grouped security updates. Python/pip is intentionally omitted so frozen requirements.txt files stay aligned with their *-gen.txt sources.

Reviewers should confirm Dependabot security updates is enabled in repo settings for the cargo security path to take effect.

Reviewed by Cursor Bugbot for commit 07c0de6. Bugbot is set up for automated code reviews on this repo. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 07c0de6. Configure here.

Comment thread .github/dependabot.yml
# rewrites the SHA and the trailing version comment on the same line. One grouped PR
# per week instead of one per action.
- package-ecosystem: "github-actions"
directory: "/"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Composite actions missed by Dependabot

Medium Severity

The github-actions entry with directory: "/" only scans workflow files. SHA-pinned third-party actions inside local composites under .github/actions/ are never updated. Dependabot also does not raise security alerts for SHA-pinned actions, so those pins stay frozen.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 07c0de6. Configure here.

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