Commit Graph
100 Commits
Author SHA1 Message Date
peaklabs-dev de8282d018 feat(check): reduce spam username consecutive digit threshold from 4 to 2 2026-04-02 22:19:22 +02:00
peaklabs-dev d1f5e9fbc4 feat(script): add branch and ahead prerequisite checks 2026-04-02 22:19:22 +02:00
peaklabs-dev 0981d5e3a3 feat(check): add pr size checks 2026-04-02 22:15:42 +02:00
peaklabs-dev 96b42f16f5 feat(context): include pr size details in context 2026-04-02 22:15:42 +02:00
peaklabs-dev 8f155fbf21 feat(input): add maxChangedFiles and maxChangedLines options 2026-04-02 22:15:42 +02:00
peaklabs-dev 6c1a72e5cf fix(report): set result output to passed when maxFailures is not hit 2026-04-02 22:15:42 +02:00
peaklabs-dev 3defb5b3a6 refactor(input): switch to Number.isNaN to avoid type coercion 2026-04-02 22:15:42 +02:00
peaklabs-dev ac158ba923 refactor(input): convert Input enum to a const object 2026-04-02 22:15:42 +02:00
peaklabs-dev f8556d3383 chore(deps): harden bun install settings 2026-04-02 22:15:42 +02:00
peaklabs-dev e4f24e53aa chore(repo): simplify and consolidate .gitignore 2026-04-02 22:15:42 +02:00
peaklabs-dev 222a19478c chore(tooling): add check and test:all scripts to package.json 2026-04-02 22:15:42 +02:00
peaklabs-dev 7973f26e21 chore(tooling): add caching to eslint and prettier 2026-04-02 22:15:42 +02:00
peaklabs-dev 5e0ece8f0c chore(tooling): reorganize and harden tsconfig.json 2026-04-02 22:15:11 +02:00
peaklabs-dev f5b47dcd04 build: update tsdown deps bundling config syntax 2026-04-02 22:15:11 +02:00
peaklabs-dev fe8e2803c6 chore(deps): move @octokit/webhooks-types to devDependencies 2026-04-02 22:11:39 +02:00
peaklabs-dev 63ba3a8ba0 chore(deps): upgrade all dependencies 2026-04-02 22:11:39 +02:00
peaklabs-dev f6ca7ebc61 chore(deps): add @types/node to devDependencies 2026-04-02 22:11:11 +02:00
peaklabs-dev e158eeefe5 docs: add v0.2.1 changes to changelog 2026-02-27 01:09:03 +01:00
peaklabs-dev 85daca1880 chore(release): v0.2.1 2026-02-27 00:34:48 +01:00
peaklabs-dev 750d26a9a7 style: remove colon in info messages 2026-02-27 00:26:08 +01:00
peaklabs-dev 3217b2f83c fix(checks): multiline comments counted as individual comments 2026-02-27 00:10:55 +01:00
peaklabs-dev 0df0748c49 fix(checks): missing strict section passes the check 2026-02-26 23:57:57 +01:00
peaklabs-dev 09eee11973 fix(checks): inherited files incorrectly included in file checks 2026-02-26 23:57:57 +01:00
peaklabs-dev ada2fd0a58 refactor(checks): extract inherited data detection 2026-02-26 23:57:56 +01:00
peaklabs-dev d7fcd0d200 fix(checks): duplicated "Missing section" prefix in info message 2026-02-26 23:57:56 +01:00
peaklabs-dev f8cc8b72d1 fix(checks): checkboxes inside blockquotes not detected 2026-02-26 23:57:56 +01:00
peaklabs-dev 9fc7c0e11c fix(checks): shortcode emojis not detected 2026-02-26 23:57:55 +01:00
peaklabs-dev 8965aeed1a chore(release): v0.2.0 2026-02-25 18:38:44 +01:00
🏔️ Peak cb567add85 v0.2.0 (#3) 2026-02-25 18:31:31 +01:00
peaklabs-dev ba401c6c00 docs: improve readme
- expand why section with new bullets and reorder for clarity
- add star history section
- document new options and updated defaults
- change details from h3 to h2 and option headings from h4 to h3 for better desktop readability
2026-02-25 18:25:31 +01:00
peaklabs-dev fc3162a589 docs: add v0.2.0 changes to changelog 2026-02-25 18:01:58 +01:00
peaklabs-dev f03f679975 fix(checks): checkbox rules in pr template check
- if the section is not strict and there are checkboxes in the pr template, require at least one checkbox to still be present and checked and always require only 1 checkbox to be checked, not all.
2026-02-25 18:00:57 +01:00
peaklabs-dev f71f3b36c1 feat(inputs)!: set sensible maximums for all integer options 2026-02-25 18:00:57 +01:00
peaklabs-dev 6559fa6fbd fix: eslint issues 2026-02-25 17:56:19 +01:00
peaklabs-dev d131aba0b5 chore(tooling): change conflicting eslint rule
- typescript-eslint/consistent-generic-constructors rule defaults to „constructor“ but we need "type-annotation" to make it compatible with isolatedDeclarations which makes sense for a library.
2026-02-25 17:56:19 +01:00
peaklabs-dev 931abc7be5 feat(checks): add maxAddedComments file check 2026-02-25 17:56:19 +01:00
peaklabs-dev df4fa8ad79 feat(inputs): add maxAddedComments option 2026-02-25 17:56:19 +01:00
peaklabs-dev 7ea5775c0f feat(inputs): improve defaults
- set a max-description-length of 2500 (previously disabled)
- bump min-account-age to 30 days (previously 7 days)
- bump max-failures to 4 (previously 3)
2026-02-25 17:49:32 +01:00
peaklabs-dev c5d2846fdf revert: "chore(checks)!: remove blockedCommitAuthors option"
- keep the blockedCommitAuthors option for now, as it can still be useful when used alone without requireCommitAuthorMatch. For example to block specific commit authors, such as OpenClaw and others while still allowing other AI author only commits like „claude".
2026-02-25 15:07:02 +01:00
peaklabs-dev 4c855008da docs: add CHANGELOG.md 2026-02-23 13:58:56 +01:00
peaklabs-dev efe258d621 docs: update readme with new and removed options 2026-02-20 01:00:26 +01:00
peaklabs-dev 7320767158 chore(checks): update total number of checks 2026-02-20 00:53:45 +01:00
peaklabs-dev c2522bf2b0 refactor(checks): replace short variables with full-length ones 2026-02-20 00:53:45 +01:00
peaklabs-dev 9c0d6f4ab7 feat(checks): add maxCodeReferences check 2026-02-20 00:53:45 +01:00
peaklabs-dev 93db90a434 feat(inputs): add maxCodeReferences option 2026-02-20 00:53:45 +01:00
peaklabs-dev 861667db5f feat(checks): improve username spam patterns
- match 4 or more consecutive digits anywhere in the username
- match usernames containing -ai or ai-
2026-02-20 00:33:16 +01:00
peaklabs-dev e132d3c366 feat(checks): improve requireCommitAuthorMatch check
- detect commits with no linked GitHub account
- improve info message
2026-02-20 00:33:16 +01:00
peaklabs-dev cd4daac297 feat(scripts): show build time and suppress the default git tag message 2026-02-20 00:33:16 +01:00
peaklabs-dev 5a83b6833a feat(scripts): remove node_modules and do a fresh install before building 2026-02-20 00:33:16 +01:00
peaklabs-dev 296fe48bba feat(checks): add 3 new user checks
- add detectSpamUsernames, maxDailyForks and minProfileCompleteness checks
- minProfileCompleteness checks 11 profile signals against a configurable minimum to fail on potential spam/ AI users
2026-02-20 00:33:16 +01:00
peaklabs-dev 2596e608e7 feat(inputs): add 3 new user check options
- detectSpamUsernames, maxDailyForks and minProfileCompleteness
2026-02-20 00:33:16 +01:00
peaklabs-dev 4cfcb8cb8a refactor(checks): run pr template checks as a separate group 2026-02-20 00:32:30 +01:00
peaklabs-dev de87b33b0c refactor(checks): run user merge checks as a separate group 2026-02-20 00:32:30 +01:00
peaklabs-dev aad964877f perf(checks): use authorAssociation instead of the API when minRepoMergedPrs is 1 2026-02-20 00:32:30 +01:00
peaklabs-dev 70ba278091 chore(actions)!: remove deleteBranch option 2026-02-20 00:32:30 +01:00
peaklabs-dev 6d6627878f chore(checks)!: remove blockedCommitAuthors option
- the new option requireCommitAuthorMatch is equally powerful while achieving the same thing. It fails when the commit is authored by only an AI or a different user and not the user opening the PR, without having to know all the names of the authors that we need to block.
2026-02-20 00:32:30 +01:00
peaklabs-dev 47d74fde72 feat(checks): add maxCommitMessageLength check 2026-02-20 00:32:30 +01:00
peaklabs-dev 59d0ed1d70 feat(inputs): add maxCommitMessageLength option 2026-02-20 00:32:30 +01:00
peaklabs-dev 826aac36bb feat(checks): add new pr template checks 2026-02-20 00:32:30 +01:00
peaklabs-dev e441879270 feat(inputs): add 3 new settings to the PR template check
- add strictPrTemplateSections, optionalPrTemplateSections and maxAdditionalPrTemplateSections
2026-02-20 00:32:30 +01:00
peaklabs-dev f4ebdf9ebd test: add real user test event 2026-02-19 00:57:29 +01:00
peaklabs-dev 91a818696a test: add missing payload fields to test events 2026-02-19 00:56:06 +01:00
peaklabs-dev 3da97f3b2a fix(checks): use head sha instead of branch name for newline check
- use headSha instead of headBranch because if the PR is from a fork, the head branch name only exists in the fork repo and causes a 404 error when trying to get file content against the base repo
2026-02-19 00:28:44 +01:00
peaklabs-dev 3a3718173b refactor(inputs): streamline inputs descriptions 2026-02-19 00:28:44 +01:00
peaklabs-dev 2b4e82deaa feat(checks): improve and streamline info messages 2026-02-18 22:33:20 +01:00
peaklabs-dev c5635b0693 chore(checks): add debug logging to excluded commits 2026-02-18 21:21:09 +01:00
peaklabs-dev 15ec846520 fix(checks): exclude inherited default-branch commits from commit checks
- exclude commits from the repos default branch that the base (target) branch of the PR hasn't caught up to yet to avoid false postives with the commit checks
2026-02-18 21:21:09 +01:00
peaklabs-dev 5f0df39303 feat(checks): add requireCommitAuthorMatch option 2026-02-18 21:21:09 +01:00
peaklabs-dev a986f4be7f feat(scripts): make sure to always sign the release commit 2026-02-16 00:42:58 +01:00
peaklabs-dev 22f014c357 chore(release): v0.1.1 2026-02-16 00:14:57 +01:00
peaklabs-dev 11054e3335 fix(checks): strip comments from description body
- not stripping comments can cause false positives for the blocked terms rule when using a honeypot term because the term is inside a comment
2026-02-16 00:08:23 +01:00
peaklabs-dev 1c3936236e docs: fix typo 2026-02-16 00:06:04 +01:00
peaklabs-dev e89d3c317e chore(release): v0.1.0 2026-02-14 22:14:41 +01:00
peaklabs-dev aaed87b5a6 feat(scripts): sign tags 2026-02-14 22:14:29 +01:00
peaklabs-dev c88780b36a chore(release): downgrade initial version so release works properly 2026-02-14 21:56:08 +01:00
peaklabs-dev f183254b9c style: format SECURITY.md 2026-02-14 21:48:29 +01:00
peaklabs-dev 15ac250be6 fix(tooling): make .md files use 2 spaces 2026-02-14 21:48:29 +01:00
peaklabs-dev 8872d93760 docs: add comprehensive docs to readme 2026-02-14 21:48:29 +01:00
peaklabs-dev b29f79133d feat(checks): add debug logging to PR template check 2026-02-14 20:13:15 +01:00
peaklabs-dev 6b75c0bc43 chore(tooling): use blocked event by default 2026-02-14 20:13:14 +01:00
peaklabs-dev 84a5337e8f test: add a blocked and allowed test event payload 2026-02-14 20:13:14 +01:00
peaklabs-dev 16cf361e75 feat(tooling): add all inputs to .env.example 2026-02-14 20:01:17 +01:00
peaklabs-dev 2ec06c8b80 feat(report): add spacing to all action job summaries 2026-02-14 19:46:08 +01:00
peaklabs-dev a73e587c38 build(release): build action 2026-02-14 19:13:00 +01:00
peaklabs-dev 95aa9bd5f6 build: include all dependencies in the build
- fixes [ERR_MODULE_NOT_FOUND] when running the action, as all external dependencies need to be bundled for GitHub actions to work
- disable warning "Consider adding inlineOnly option to avoid unintended bundling of dependencies" by setting it to false as we need all dependencies bundled
2026-02-14 19:11:58 +01:00
peaklabs-dev 0187e9e15d feat(core): add createClient, checks, report and actions to main.ts 2026-02-14 18:31:54 +01:00
peaklabs-dev da86bc5e32 feat(checks): add file checks 2026-02-14 18:27:46 +01:00
peaklabs-dev 93f23051b0 fix(inputs): eslint error 2026-02-14 18:03:49 +01:00
peaklabs-dev 91fb2a66d5 feat(checks): add description checks 2026-02-14 17:52:47 +01:00
peaklabs-dev e307388387 chore(inputs): remove unnecessary actionsStepDebug option 2026-02-14 17:26:18 +01:00
peaklabs-dev e7a8c6d337 fix(report): add skipped to result output description 2026-02-14 17:25:05 +01:00
peaklabs-dev 1df0a42a70 refactor(checks): rename squash pattern to just title pattern 2026-02-14 17:23:34 +01:00
peaklabs-dev c73e3b9240 chore(actions): update log messages 2026-02-13 23:08:07 +01:00
peaklabs-dev 4d2179e10c chore(checks): update CONVENTIONAL_PATTERN comment 2026-02-13 23:06:12 +01:00
peaklabs-dev cc264bbb45 feat(checks): add commit checks 2026-02-13 23:05:14 +01:00
peaklabs-dev 2b4498f54a fix(tooling): isLocal is always false
- GitHub action always converts the value of the variable to a string so now we just check that it is not "true"
2026-02-13 20:33:57 +01:00
peaklabs-dev eccfb49acf feat(checks): add user checks 2026-02-13 20:26:34 +01:00
peaklabs-dev 12ff43f65f feat(checks): add pr quality checks 2026-02-13 19:37:54 +01:00
peaklabs-dev 03692c8a15 feat(context): update context
- remove issueUrl as we use octokit instead
- uncomment maintainerCanModify as it will be used
2026-02-13 19:37:53 +01:00
peaklabs-dev 8661b9c53d feat(checks): add title checks 2026-02-13 19:24:42 +01:00