Commit Graph
117 Commits
Author SHA1 Message Date
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 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 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