Skip to content

fix(dependabot): drop the credential-less npm-registry block (dashboard#513 twin) - #153

Merged
cryptolir merged 3 commits into
mainfrom
fix/dependabot-registry-schema
Sep 6, 2026
Merged

cryptolir merged 3 commits into
mainfrom
fix/dependabot-registry-schema

Conversation

@cryptolir

Copy link
Copy Markdown
Owner

Summary

Twin of cryptolir/openclaw-dashboard#513 (OB-55 there). This repo's .github/dependabot.yml carries the identical block the dashboard's was mirrored from, and it is invalid for the same reason — so Dependabot version updates have never run here.

The three Dependabot PRs that do exist (#146–#148) are security updates from alerts: they target /ui npm and go_modules, neither of which is even in this config, and none is a production-* / development-* group. Security updates need no config file; version updates do.

Cause

registries:
  npm-npmjs:
    type: npm-registry
    url: https://registry.npmjs.org
    replaces-base: true

Dependabot's npm-registry type requires credentials — a token, or username + password — so this object matches none of the schema's allowed shapes. GitHub's verdict on the dashboard's byte-identical copy:

The property '#/registries/npm-npmjs/' of type object did not match one or more of the required schemas

It cannot be given a token: this repo has 0 Dependabot secrets. And it was never needed — registry.npmjs.org is already the default for the npm ecosystem.

Fix (two commits)

  1. .github/dependabot.yml — delete the block and its one reference under the root npm update. 8 deletions, 0 additions. All six updates survive (npm /, github-actions /, swift /apps/macos, swift /Swabble, gradle /apps/android, docker /).
  2. .github/workflows/docker-release.yml — add .github/dependabot.yml to paths-ignore. That workflow runs on every push to main and has fired on each of the last five; without this line, merging a config-only edit builds and pushes a gateway image to ghcr.io for nothing. Same exclusion the dashboard's deploy.yml uses. Tag pushes are unaffected (paths filters do not apply to tags). Drop this commit if you would rather keep the build.

STATUS.md claims the branch and records the session, per the protocol.

Verification — and what this repo cannot give

  • yaml.safe_load parses; version: 2, 6 updates, top-level keys only version + updates
  • The dependabot.yml diff is byte-identical in shape to dashboard#513, which GitHub validated on its main (Dependabot config file validation → success) and which Dependabot then acted on within 41 s (dashboard#514).
  • docker-release.yml still parses; workflow-sanity runs actionlint on it in this PR.
  • No GitHub verdict is possible here. This repo is a fork of openclaw/openclaw; Dependabot version updates are off on forks by default and GitHub never runs the config check on them — there is no check-run on the commit that added the file (48aea87) nor the last one that touched it (330c5ce). Enabling version updates on the fork is a separate owner decision (Insights → Dependency graph → Dependabot).
  • CI on main is already red (last three runs). A red CI here is not a signal about this change; the failing jobs are compared one-for-one against main in a comment below before merge.

🤖 Generated with Claude Code

Liran Peretz and others added 3 commits September 6, 2026 13:09
…rd#513 twin)

Dependabot requires a token or username+password for the npm-registry
registry type; this block had neither, so the whole config was invalid
and version updates never ran. The repo has 0 Dependabot secrets, so no
token is possible, and registry.npmjs.org is the npm default anyway.
Identical to the block GitHub rejected on openclaw-dashboard (openclaw#513).

STATUS.md: claim the branch and record the session.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
A config-only edit should not build and push a gateway image to ghcr.
Mirrors the exclusion the dashboard deploy workflow already carries.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@cryptolir

Copy link
Copy Markdown
Owner Author

CI comparison before merge, job for job (as promised in the body — main is already red here):

  • Green, and these are the ones that judge this change: check (pnpm check — lint, types, oxfmt; covers the STATUS.md formatting and both YAML edits), skills: manifest in sync, actionlint + no-tabs (workflow-sanity, on the docker-release.yml edit), check-docs, changed-scope / docs-scope.
  • label / label-issues — baseline, unrelated. They fail on every recent PR in this repo (8 of 8 labeler runs across 5 other branches): actions/create-github-app-token → "Input required and not supplied: private-key". The upstream workflow expects a GitHub App key this fork does not have.
  • checks (bun, test) — environmental, unrelated. Failed at Setup Node environment, before any test ran; the failed log mentions none of this PR's files. It passes on main, and fails at the same step on the latest other PR (feat/compose-exa-key-name).
  • checks (node, test) / checks-windows — baseline. Fail on main on every recent run (fix(ci): stop using the vmForks pool in CI — it OOMs before the suite reports #126 tracks the vmForks OOM); in progress here and expected to match.

Merging as a squash (protocol §5). Post-merge check: docker-release must stay silent for the squash commit — the new paths-ignore line applies to the very push that introduces it — while ci.yml still fires.

@cryptolir
cryptolir merged commit 2e3cf4f into main Sep 6, 2026
18 of 24 checks passed
@cryptolir
cryptolir deleted the fix/dependabot-registry-schema branch September 6, 2026 13:14
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