Skip to content

chore(deps): merge npm Dependabot entries and add cooldown - #209

Merged
siracusa5 merged 2 commits into
mainfrom
chore/dependabot-hardening
Oct 28, 2026
Merged

siracusa5 merged 2 commits into
mainfrom
chore/dependabot-hardening

Conversation

@siracusa5

@siracusa5 siracusa5 commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

What

  • The three npm entries (/apps/console, /apps/site, /apps/desktop) become one entry with directories: and one npm-minor-and-patch group. A group spans every listed directory, so a week of minor and patch updates is one PR.
  • github-actions gets a group, so codeql-action and the others stop opening one PR each.
  • 7-day cooldown on both ecosystems, and 14 days for npm majors.

Why

Dependabot opened 26 PRs here between Sep 1 and Oct 28. Majors still arrive one PR each (electron 45 is open now), which is the PR that needs a human.

A new release now has to sit for a week before Dependabot proposes it. Hijacked releases are usually found and pulled within days, so the wait keeps them out. Security updates ignore the cooldown.

Not changed

  • Weekly schedule and the PR limit.
  • Auto-merge. main has no required status checks yet, so nothing would hold an auto-merge until CI passes.

If one app's update fails CI, the shared PR is red for all three. Split the group again if that gets in the way.

Test plan

  • YAML parses and every key is in GitHub's documented set
  • After merge, the Dependabot tab shows no config errors
  • The next Monday run opens one npm PR and one actions PR

🤖 Generated with Claude Code

Security updates

Each ecosystem also has a *-security group with applies-to: security-updates. When Dependabot security updates are on, a backlog of alerts arrives as one PR per ecosystem instead of one PR per package. The group only takes effect once this file is on the default branch.

- one npm entry for console, site and desktop, so a week's minor and patch
  updates arrive as one PR instead of three
- group github-actions updates into one PR
- 7-day cooldown on both ecosystems (14 days for npm majors)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: John Siracusa <siracusa5@users.noreply.github.com>
Adds a security-updates group to each ecosystem so a backlog of alerts
arrives as a single PR.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: John Siracusa <siracusa5@users.noreply.github.com>
@siracusa5
siracusa5 merged commit e0dcaf1 into main Oct 28, 2026
12 checks passed
@siracusa5
siracusa5 deleted the chore/dependabot-hardening branch October 28, 2026 07:19
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