Skip to content

ci: add Dependabot for GitHub Actions with a 5-day cooldown - #42

Merged
eseidel merged 1 commit into
mainfrom
ci/dependabot-actions
Nov 17, 2026
Merged

eseidel merged 1 commit into
mainfrom
ci/dependabot-actions

Conversation

@eseidel

@eseidel eseidel commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Why

Every GitHub Action in this repo is now pinned to a commit SHA (arc: fewer, pinned GitHub Actions; org-wide sha_pinning_required is next). A pin with nothing to bump it goes stale, so security fixes in an action would never reach us. This adds Dependabot for github-actions, the same github-actions block as handbook's (setup-shorebird and a few others use a 7-day cooldown; this arc settled on 5).

  • Standard way: Dependabot version updates, weekly, all actions grouped into one PR; it bumps the SHA and its version comment together.
  • Cooldown 5 days: a new release waits 5 days before a PR opens, so a broken or compromised release has time to be flagged. Security updates skip the cooldown.
  • What could go wrong: at most one grouped Dependabot PR a week here; nothing changes in CI itself.

Landing

Now, once green and reviewed.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@eseidel

eseidel commented Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

Adversarial review

No blocking findings.

Non-blocking:

  • The PR body says this matches handbook/setup-shorebird. It doesn't: setup-shorebird uses a 7-day cooldown, and handbook adds labels and open-pull-requests-limit.
  • The first Dependabot PR will jump actions/checkout from v3.7.0 straight to v7 (majors are in the * group). e2e.yaml runs on pull_request on all 3 OSes, so CI will cover that jump.

Verified:

  • The only uses: (.github/workflows/e2e.yaml:20) is pinned to a SHA with a version comment, and the SHA is the real v3.7.0 tag.
  • No composite actions, no workflow files outside .github/workflows, no other package ecosystems. directory: "/" covers everything.
  • cooldown and groups are valid keys; the cooldown does not delay security updates.
  • CI is green on all 3 OSes and the dependabot.yml check passes.

@eseidel

eseidel commented Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

Answers:

  • "Same config" claim: fixed in the description: it now says it is the same github-actions block as handbook's, and that setup-shorebird uses 7 days while this arc settled on 5.
  • Majors grouped with everything else: kept on purpose. It is how every other repo's github-actions group works (handbook, setup-shorebird, _shorebird), and a grouped PR still names each bump in its title, so a major is visible at review.
  • Other ecosystems: out of scope. This PR covers Actions only, for the SHA-pinning work; install has none anyway.
  • checkout v3 to v7 jump: e2e.yaml runs on pull_request on all 3 OSes, so that PR is tested before it lands.

@eseidel

eseidel commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

lgtm

@eseidel
eseidel merged commit 40228c6 into main Nov 17, 2026
4 checks passed
@eseidel
eseidel deleted the ci/dependabot-actions branch November 17, 2026 01:50
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