Skip to content

ci(.github/dependabot.yaml): switch npm ecosystem to bun#14

Merged
DevelopmentCats merged 1 commit into
mainfrom
chore/fix-dependabot-bun-ecosystem
Jun 15, 2026
Merged

ci(.github/dependabot.yaml): switch npm ecosystem to bun#14
DevelopmentCats merged 1 commit into
mainfrom
chore/fix-dependabot-bun-ecosystem

Conversation

@DevelopmentCats

@DevelopmentCats DevelopmentCats commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Switches the Dependabot configuration from the npm ecosystem to bun. The previous setting updated package.json plus npm, yarn, or pnpm lockfiles but never regenerated bun.lock, which left lockfile bumps inconsistent with how this repo actually installs.

Why

PR #11 (Dependabot: awesome-lint 0.18.6 → 2.3.0) failed CI on bun install --frozen-lockfile because the lockfile was untouched while package.json had been bumped. Dependabot has supported the bun ecosystem since it went GA in February 2025 and writes the text bun.lock format used here (Bun 1.1.39+), so this is the targeted fix.

This supersedes PR #13 (the Renovate migration)

Changes

  • package-ecosystem: "npm"package-ecosystem: "bun"
  • Group name renamed from npm to bun
  • Added commit-message.prefix so Dependabot PRs land with conventional prefixes:
    • GitHub Actions group → ci: bump <action>
    • Bun group → chore(deps): bump <package>

Verification

  • bun fmt:ci (Prettier) — clean
  • bun lint (awesome-lint) — clean
  • typos --config .github/typos.toml — clean
  • YAML parses

Follow-up

After this merges, Dependabot should re-open the awesome-lint 0.18.6 → 2.3.0 bump on the next weekly run with bun.lock regenerated. CI should pass at that point.

Decision log
  • Kept the same weekly cadence, root directory, and "group everything" pattern as the existing github-actions entry for consistency.
  • Did not split production from development dependencies; the package is tiny and a single group keeps PR volume minimal.
  • Did not pin bun-version; Dependabot defaults to the version declared in package.json/engines or the latest stable, which matches the repo's current behavior.

This change was prepared by Coder Agents.

The previous configuration declared package-ecosystem: "npm", which updates
package.json plus npm, yarn, or pnpm lockfiles but never touches bun.lock.
That caused the awesome-lint 0.18.6 -> 2.3.0 bump in #11 to fail CI on
`bun install --frozen-lockfile` because the lockfile was left stale.

Dependabot has supported the bun ecosystem since it went GA in
February 2025 and writes the text bun.lock format used in this repo, so
flipping the ecosystem is the targeted fix. Also adds conventional
commit prefixes so Dependabot PRs land as "ci: bump <action>" for
GitHub Actions updates and "chore(deps): bump <package>" for bun
updates.

This change was prepared by Coder Agents.
Copilot AI review requested due to automatic review settings June 15, 2026 15:45

Copilot AI 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.

Pull request overview

Updates Dependabot configuration to align dependency automation with this repository’s Bun-based install flow so that dependency bumps regenerate bun.lock and stop failing bun install --frozen-lockfile in CI.

Changes:

  • Switch Dependabot package-ecosystem from npm to bun for JS dependencies.
  • Rename the dependency update group from npm to bun.
  • Add commit-message.prefix to standardize Dependabot PR commit prefixes for GitHub Actions and Bun dependency updates.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@DevelopmentCats DevelopmentCats merged commit c2357e5 into main Jun 15, 2026
4 checks passed
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.

3 participants