Skip to content

ci: enable dependabot with auto-merge for low-risk updates#18

Merged
ronload merged 2 commits into
mainfrom
ci/add-dependabot
May 11, 2026
Merged

ci: enable dependabot with auto-merge for low-risk updates#18
ronload merged 2 commits into
mainfrom
ci/add-dependabot

Conversation

@ronload
Copy link
Copy Markdown
Owner

@ronload ronload commented May 11, 2026

Why

Manual dependency bumps don't scale, and the recent @types/node /
typescript major upgrade made it obvious we need a regular cadence.
Dependabot handles the discovery, and the companion workflow merges the
boring stuff automatically so it doesn't sit on the queue.

What

  • .github/dependabot.yml — weekly (Mon 09:00 Asia/Taipei) checks for
    npm and github-actions. Minor + patch are grouped (prod / dev / actions
    each as one PR) to reduce churn; majors stay individual for review.

  • .github/workflows/dependabot-auto-merge.yml — once CI passes,
    auto-squash:

    • any patch update
    • minor update on a direct development dependency

    Production minors and all majors still require a human.

Follow-up on GitHub

This PR alone isn't enough — to actually take effect:

  • Settings → General → enable Allow auto-merge
  • Settings → Branches → branch protection on main requiring CI to pass
  • (optional) create dependencies and github-actions labels

ronload added 2 commits May 11, 2026 19:17
Monitor npm and github-actions ecosystems on a weekly schedule.
Group production and development npm updates separately to reduce
PR churn; major updates remain ungrouped so they get individual
review.
Auto-merge low-risk dependabot PRs once CI passes: all patch updates,
and minor updates on direct development dependencies. Production minor
and any major updates still require manual review.
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
aicona Ready Ready Preview, Comment May 11, 2026 11:18am

@ronload ronload merged commit 96c957a into main May 11, 2026
3 checks passed
@ronload ronload deleted the ci/add-dependabot branch May 11, 2026 11: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