peaklabs-dev
57858eead4
chore(release): v0.3.0
2026-04-15 18:36:50 +02:00
🏔️ Peak
90fd5b70b5
v0.3.0 ( #10 )
2026-04-15 18:31:57 +02:00
peaklabs-dev
99a8a157bd
docs: add v0.3.0 changes to changelog
2026-04-15 18:29:34 +02:00
peaklabs-dev
18fbbc1832
build: action
2026-04-15 18:17:29 +02:00
peaklabs-dev
0531f60ec8
chore(tooling): improve .prettierignore
2026-04-15 18:17:29 +02:00
peaklabs-dev
153429d7c0
fix(deps): add tsx dependency required by local-action
...
- when using `linker = "isolated“` with bun, local testing fails as local-action executes the action via tsx and npm locally (does not support bun) so tsx needs to be installed for local testing to work
2026-04-15 18:03:24 +02:00
peaklabs-dev
fe7d60340c
test: align event fixtures with context.ts
2026-04-15 17:55:12 +02:00
peaklabs-dev
6650ce834a
chore(tooling): add v0.2 and v0.3 changes to .env.example
2026-04-15 17:53:31 +02:00
peaklabs-dev
6780a59a8b
docs: add missing valid ranges to readme
2026-04-15 17:53:31 +02:00
peaklabs-dev
c381ad8e5a
docs(input): cleanup input descriptions
2026-04-15 17:53:31 +02:00
peaklabs-dev
4bae98b88a
docs: add v0.3 changes to readme
2026-04-15 16:24:17 +02:00
peaklabs-dev
53e6103289
feat(input): add autofix-ci[bot] to bot exemptions
2026-04-15 16:23:38 +02:00
peaklabs-dev
e7178685df
refactor(context): read owner and repo from payload
...
- switch from `github.context.repo` (which reads the `GITHUB_REPOSITORY` env var) to reading the repository owner and name from the webhook payload.
- aligns with how all other context data is already read.
- needed for a future ecosystem CI where event payloads from different repositories will be used as fixtures.
- also simplifies local testing since `GITHUB_REPOSITORY` no longer needs to be set manually.
2026-04-15 16:17:56 +02:00
peaklabs-dev
50d9f4af78
style: format codebase
2026-04-15 16:17:56 +02:00
peaklabs-dev
6222e4f422
docs(tooling): improve eslint rule comment
2026-04-15 16:17:56 +02:00
peaklabs-dev
0dac1e82a4
chore(tooling): switch indentation from spaces to tabs
2026-04-15 16:17:56 +02:00
peaklabs-dev
2b7c1c7597
chore(tooling): add import sorting to prettier
2026-04-15 16:17:56 +02:00
peaklabs-dev
fe5d395010
feat(input): reduce maxDailyForks default from 7 to 6
2026-04-15 16:17:56 +02:00
peaklabs-dev
f4b9e4959c
fix(check): skip merge checks when user profile is private
2026-04-15 16:17:56 +02:00
peaklabs-dev
7814903fe3
feat(check): add public profile check
2026-04-15 16:17:20 +02:00
peaklabs-dev
ce5ebd0a8c
feat(input): add requirePublicProfile option
2026-04-02 22:19:22 +02:00
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