Skip to content

ci(node-ci): a secrets input, and WC-CI-3 lets each check live in one place - #729

Merged
leemour merged 1 commit into
mainfrom
ci/optional-secrets-job
Nov 26, 2026
Merged

leemour merged 1 commit into
mainfrom
ci/optional-secrets-job

Conversation

@leemour

@leemour leemour commented Nov 26, 2026

Copy link
Copy Markdown
Member

Task. Owner decision NEED-2 A on WireCatLabs/cli-core#3386: keep one secret scan and one lint and typecheck per pull request in cli-core.

Why. cli-core scanned the whole history twice (validation / ci / secrets and security / secrets, the same gitleaks command) and ran lint and types in both standards and ci / check, about 70 s per run.

What.

  • node-ci.yml gets a secrets input, true by default. 22 repositories require validation / ci / secrets in their ruleset (checked with gh api repos/WireCatLabs/<repo>/rules/branches/main). With the default they see no change. Only cli-core has a second whole-history scan, so only cli-core turns it off.
  • WC-CI-3: a repository whose pull request validation runs node-ci on every pull request and merge may leave lint and ci:quick out of standards. One whose security checks scan the whole history may leave out gitleaks. WC-CI-4 and WC-CI-7 note cli-core. Lint and types stay in ci / check, because the release and the monthly run go through it and never run standards.

Testing. pnpm docs:check, pnpm docs:lint, cspell, zizmor. The input is used for real in the cli-core pull request that follows.

🤖 Generated with Claude Code

… place

cli-core ran gitleaks over the whole history twice per pull request (`validation / ci / secrets` and
`security / secrets`) and lint and types twice (`standards` and `ci / check`). The owner chose to keep one of each
(NEED-2 A on WireCatLabs/cli-core#3386).

- node-ci.yml takes `secrets` (default true). Every CLI that requires `validation / ci / secrets` keeps it as is.
- WC-CI-3 allows a repository with full pull request validation to leave lint and ci:quick out of `standards`,
  and one with a whole-history scan in its security checks to leave out gitleaks. WC-CI-4 and WC-CI-7 say so for
  cli-core.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leemour
leemour merged commit 518799b into main Nov 26, 2026
10 checks passed
@leemour
leemour deleted the ci/optional-secrets-job branch November 26, 2026 23:09
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