Skip to content

fix(ci): hold dependabot runs and patch cross-spawn - #461

Merged
aicayzer merged 4 commits into
mainfrom
chore/283l-dependabot
Dec 1, 2026
Merged

aicayzer merged 4 commits into
mainfrom
chore/283l-dependabot

Conversation

@aicayzer

@aicayzer aicayzer commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

A run that Dependabot starts now uses no CI runner until a person or an agent starts a run on the pull request, and version updates come monthly instead of weekly. This also updates cross-spawn, a development dependency, to a version without the critical advisory GHSA-ghv9-86vm-4v8m.

Changes

  • Every job a pull request can start in ci.yml, codeql.yml and audit.yml is skipped when the actor is dependabot[bot]. The gate is skipped too and is never named Full CI on such a run, so the required check stays expected and the pull request cannot merge.
  • To start a held pull request, run gh pr ready --undo <n> && gh pr ready <n>, or push a commit to its branch. AGENTS.md and ci.yml say so.
  • dependabot.yml: both entries run monthly, with one open pull request each. The limits don't apply to security updates.
  • pnpm-lock.yaml: cross-spawn 7.0.6 to 7.1.2. It comes in through eslint, whose ^7.0.6 range already admits the patch, so only the lockfile changes and no override is needed.

Testing

  • vitest run scripts/test/ci-changes.test.ts scripts/test/tree.test.ts: 144 passed. With the workflows from main restored, nine of the tests that pin the conditions fail, the new one among them.
  • pnpm install --frozen-lockfile, pnpm audit --audit-level moderate (no known vulnerabilities), prettier --check ., eslint on the changed test, and actionlint all pass.
  • Spawned a process through cross-spawn 7.1.2 on macOS: exit 0 with the argument intact.
  • Not tested: a real run started by Dependabot, which only Dependabot can start. The full test suite, pnpm build and pnpm typecheck were not run locally.

Notes for reviewers

  • The Dependency audit workflow has no ready_for_review trigger, so only a pushed commit audits a held pull request. It is not a required check.
  • The follow-releases.yml and follow-node.yml pull requests are opened by the WithMarfa Bot app, so the hold does not touch them.
  • Review depth: CI conditions and a lockfile patch.

Checklist

  • The title is a scoped Conventional Commit.
  • New behavior has a test that was seen failing first, or no test was needed and the reason is above.
  • Docs, comments and the contract still say what is true after this change.

@aicayzer aicayzer changed the title ci: hold dependabot runs and patch cross-spawn fix(ci): hold dependabot runs and patch cross-spawn Dec 1, 2026

@aicayzer aicayzer left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: ready to merge

Summary. Holds CI on runs Dependabot starts; safe to merge because a held run can never report the required check.

First draft: 5/5. Nothing of consequence.

Checked.

  • Every path: each job a pull request can start carries the hold, and conditions keep their grouping and status functions.
  • Done: the check names a held, draft, ready and push run can report, against the branch ruleset. Traced, not run: only Dependabot can start a held run.
  • True: the cross-spawn update against the advisory and npm.

Reviewed by withmarfa-reviewer on Claude Opus 5.5. This review may contain mistakes.

@aicayzer
aicayzer marked this pull request as ready for review December 1, 2026 14:25
@aicayzer
aicayzer merged commit bf84128 into main Dec 1, 2026
14 checks passed
@aicayzer
aicayzer deleted the chore/283l-dependabot branch December 1, 2026 14:25
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