Skip to content

chore: add Dependabot config and drop the inert legacy CI workflow - #16

Merged
BitmapAsset merged 1 commit into
mainfrom
chore/dependabot-and-legacy-ci-cleanup
Sep 3, 2026
Merged

BitmapAsset merged 1 commit into
mainfrom
chore/dependabot-and-legacy-ci-cleanup

Conversation

@BitmapAsset

Copy link
Copy Markdown
Owner

What

  • .github/dependabot.yml (new, version 2) covering the only two ecosystems this repo has:
    • npm at / — the pnpm workspace root. Its single pnpm-lock.yaml covers packages/*, so one entry is the whole JS dependency surface.
    • github-actions at /.
    • Weekly, Mondays 06:00 America/Los_Angeles, open-pull-requests-limit: 5, label dependencies.
    • Nothing for legacy/ — deliberately.
  • Deleted legacy/ci/ci-cd.yml and updated legacy/README.md to match.

Why

Grouping. With no config, security updates arrive as one PR per package. Each entry declares two groups: applies-to: version-updates (patterns: ["*"], update-types: [minor, patch]) so routine bumps land as one PR per ecosystem, and applies-to: security-updates (patterns: ["*"]) so security fixes land as one PR per ecosystem. Majors stay ungrouped — they need a human.

Stop the /legacy/ failures. One minute after #15 merged, five "Dependabot Updates" runs failed trying to resolve deleted /legacy/... lockfiles. Scoping the config to the live tree keeps that from recurring.

The legacy workflow. legacy/ci/ci-cd.yml was already inert — it is not under .github/workflows/, so GitHub never executed it — but it built only deleted code and made legacy/ read like a live build surface. It is preserved byte-identical under tag legacy/taproot-assets-era-final.

How verified

  • Manifest enumeration. git ls-files on main matches exactly package.json, packages/sdk/package.json, pnpm-lock.yaml, .github/workflows/ci.yml. No Dockerfile, go.mod, Cargo.toml or Python manifests. The Dependabot alerts API (state=all) returns none.
  • Schema. Validated against the SchemaStore Dependabot 2.0 JSON schema with ajvPASS.
  • Nothing lost. HEAD:legacy/ci/ci-cd.yml and legacy/taproot-assets-era-final:legacy/ci/ci-cd.yml are the same blob, 4dc9c28d30b0ff832bc687609954fabb98af8c02.
  • CI run locally on Node 22.23.1 / pnpm 10.28.2 (matching ci.yml): pnpm install --frozen-lockfile OK, lint:boundaries OK (10 files, 1 rule), typecheck clean, test 170 passed / 3 skipped.

Not changed

No source, no lockfile, no live workflow. .github/workflows/ still contains only ci.yml.

What
- Add .github/dependabot.yml (version 2) covering the two ecosystems this repo
  actually has: npm at "/" (the pnpm workspace root — its single pnpm-lock.yaml
  covers packages/* too) and github-actions at "/". Nothing for legacy/.
- Delete legacy/ci/ci-cd.yml and update legacy/README.md accordingly.

Why
- Dependabot had no configuration at all, so version updates never ran and
  security updates arrived one PR per package. The groups below collapse that
  into one PR per ecosystem for minor+patch and one PR per ecosystem for
  security fixes; majors stay separate because they need a human.
- Right after the legacy/taproot-assets-era removal merged, five "Dependabot
  Updates" runs failed trying to resolve deleted /legacy/... lockfiles. Scoping
  the config to the live tree stops that recurring.
- legacy/ci/ci-cd.yml was inert (not under .github/workflows, so never executed)
  and built only deleted code, but it made legacy/ look like a live build
  surface. It is preserved byte-identical at tag
  legacy/taproot-assets-era-final (blob 4dc9c28).

How verified
- Enumerated every manifest on main: git ls-files matched exactly
  package.json, packages/sdk/package.json, pnpm-lock.yaml and
  .github/workflows/ci.yml. No Dockerfile, go.mod, Cargo.toml or Python
  manifests exist. Dependabot alerts API (state=all) returns none.
- dependabot.yml validated against the SchemaStore Dependabot 2.0 JSON schema
  with ajv: PASS.
- Confirmed the deleted workflow survives in the tag: blob sha of
  HEAD:legacy/ci/ci-cd.yml and legacy/taproot-assets-era-final:legacy/ci/ci-cd.yml
  are both 4dc9c28.
- Ran the CI job locally on Node 22.23.1 / pnpm 10.28.2: pnpm install
  --frozen-lockfile, lint:boundaries (OK), typecheck (clean), test
  (170 passed, 3 skipped).
@vercel

vercel Bot commented Sep 3, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
runebolt Error Error Sep 3, 2026 10:43am UTC

Request Review

@BitmapAsset
BitmapAsset merged commit aa7e390 into main Sep 3, 2026
2 of 3 checks passed
@BitmapAsset
BitmapAsset deleted the chore/dependabot-and-legacy-ci-cleanup branch September 3, 2026 10:46
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