chore: enable Dependabot weekly GitHub Actions bumps - #854
chore: enable Dependabot weekly GitHub Actions bumps#854hf-dependantbot-rollout[bot] wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d062a63. Configure here.
|
@cursoragent Fix the problem you identified |
|
Implemented the fix in What changed:
Why:
Verification:
Commit:
|
Co-authored-by: Di Xiao <seanses@users.noreply.github.com>
rajatarya
left a comment
There was a problem hiding this comment.
This enables Dependabot for weekly GitHub Actions SHA bumps via a new .github/dependabot.yml. The config is valid Dependabot v2 and sensible.
Verified:
- No pre-existing
.github/dependabot.ymlonmain, so there's no conflict — this is a clean addition. - All five composite-action directories listed under
directoriesexist onmainand each contains anaction.yml(build-wasm,cache-rust-build,macos-codesign-notarize,set-build-profile,windows-codesign). - Using
directories(plural) is the right call here: the"/"entry covers root.github/workflowsplus the root-levelaction.yml, but nested composite actions under.github/actions/*are not picked up by"/"alone, so listing them explicitly is what makes them get bumped. cooldown.default-days: 7,groups(patterns: ["*"]), and theweeklyschedule are all valid keys. Grouping into one weekly PR is a good noise-reduction choice, and the 7-day cooldown aligning with the orgpinact min_age: 7gate is a nice touch.
No blocking issues. A couple of optional nits inline. LGTM.
| - "/.github/actions/cache-rust-build" | ||
| - "/.github/actions/macos-codesign-notarize" | ||
| - "/.github/actions/set-build-profile" | ||
| - "/.github/actions/windows-codesign" |
There was a problem hiding this comment.
nit: macos-codesign-notarize and set-build-profile currently have no external uses: in their action.yml (only run-steps / nested local action refs), so Dependabot will find nothing to bump in them today. Harmless to keep them listed — it just future-proofs in case they later pull in a pinned external action — but worth knowing they're no-ops right now.
| schedule: | ||
| interval: "weekly" | ||
| cooldown: | ||
| default-days: 7 |
There was a problem hiding this comment.
nit: consider adding open-pull-requests-limit and labels for explicitness. With groups batching everything into one PR the default limit of 5 is effectively never hit, so this is purely cosmetic; and the repo already applies a dependabot label, so neither is required. Optional.



Summary
Adds
.github/dependabot.ymlso this repo's pinned GitHub Action SHAsget bumped automatically once a week.
All action updates are grouped into one weekly PR (not one PR per
action) to keep the noise down, and Dependabot waits 7 days after a
release before opening the bump (cooldown). The 7-day cooldown is
aligned with the org's pinact
min_age: 7policy — so by the timethe Dependabot PR lands, the SHA is already old enough for the security
gate to accept it. The bot opens the PR; the org-wide security gate
(pinact + denylist + deny-packages + osv-scan) runs on it; a human
merges.
Why
GitHub Action SHAs that were safe when pinned can drift out of date —
missing security patches, bug fixes, or new features. Dependabot keeps
them current. Combined with the org-wide validation workflow (which
blocks compromised SHAs from landing), the bumps are safe by
construction.
Closes huggingface/tracking-issues#648
Note
Low Risk
CI-only dependency automation; no application runtime or auth/data paths change, with bumps still gated by existing org security workflows before merge.
Overview
Adds Dependabot configuration so pinned GitHub Actions SHAs are refreshed on a weekly schedule across the repo root and composite action directories under
.github/actions/*.Updates are batched into a single weekly PR (
groupswithpatterns: ["*"]), and Dependabot applies a 7-day cooldown after a release before proposing bumps—intended to line up with org pinactmin_age: 7so security gates can accept the new SHAs when the PR is opened.Reviewed by Cursor Bugbot for commit fbad2ab. Bugbot is set up for automated code reviews on this repo. Configure here.