Repository navigation
ci(node-ci): a secrets input, and WC-CI-3 lets each check live in one place - #729
Merged
Merged
Conversation
… 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 / secretsandsecurity / secrets, the same gitleaks command) and ran lint and types in bothstandardsandci / check, about 70 s per run.What.
node-ci.ymlgets asecretsinput, true by default. 22 repositories requirevalidation / ci / secretsin their ruleset (checked withgh 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.ci:quickout ofstandards. 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 inci / check, because the release and the monthly run go through it and never runstandards.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