You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Name the fallback reason for Git hook and commit tooling #338
These configure what runs on git commit or git push, not in CI:
lefthook.yml, .lefthook.yml and files under .husky/
.lintstagedrc, .lintstagedrc.json and lint-staged.config.js
.commitlintrc, .commitlintrc.json and commitlint.config.js
A change to one of them runs the full suite. The .js ones report Code that no file imports changed, and the others report Unknown changed file: ….
This issue only names the reason. Whether these files should select no tests at all is a separate decision. Leave the plan FULL.
Done when:
All of them report Tool configuration changed: Git hook settings.
There's a test case for lefthook.yml, .husky/pre-commit, .lintstagedrc and commitlint.config.js.
The docs row lists them.
New to DiffCI? See CONTRIBUTING.md. #142 and its PRs (#144, #155, #156) are a worked example of this exact change. Add a case to tests/repo/tool-config-reasons.test.ts, run npm test, and sign off commits with git commit -s. Comment here to claim the issue.
Activity
adityankale190895 commentedon Dec 3, 2026
I’m working on this: I’ll add the Git-hook fallback reason, regression coverage, and docs, then open a PR.