Repository navigation
build: fix the commit check and lint for Dependabot and release-please - #21
Merged
Merged
Conversation
Dependabot names a grouped update "bump the development group across 1 directory with 4 updates", 77 characters with its prefix, and we do not choose its words. A commit by a GitHub bot (author ...[bot]@users.noreply.github.com) still needs a type; only the length is not checked. Raising the limit for everyone was rejected: 72 stays the rule for people.
release-please writes .release-please-manifest.json as {".":"0.1.1"},
which Biome's formatter rejects, so pnpm check, and with it the
release build, would fail on every release PR. The file is
release-please's own; Biome skips it.
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.
Summary
checkCommitMessage(message, { bot }) type, scope, "!" required - subject <= 72 + subject <= 72, unless the author is a GitHub bot no final period, blank second line#20 failed the
commitsjob: Dependabot's subjectbuild(deps-dev): bump the development group across 1 directory with 4 updatesis 77 characters, and we do not choose its words.Evidence
node scripts/check-commits.ts origin/main..<#20 head>→the subject has 77 characters, at most 72, exit 1.After: same command →
1 commit message(s) follow Conventional Commits.pnpm checkgreen.Merge Danger
Door: two-way
Blast Radius: CI
Only the commit check and the lint scope change. A bot commit with no type still fails.
Two more commits:
build: leave the release-please manifest to release-please. release PR chore(main): release 0.1.1 #18 writes{".":"0.1.1"};biome cion its branch →.release-please-manifest.json needs to be formatted, 1 error, so the release build'spnpm checkwould fail. Biome now skips the file; with that content it reports no error.chore: ignore agents' git worktrees..agents/worktrees/in.gitignore, so Biome and git skip them.