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
peaklabs-dev
53e89d0cda
feat(checks): add branch checks
2026-02-13 19:20:00 +01:00
peaklabs-dev
3e467ed208
refactor(inputs): reorder failure and success inputs
2026-02-13 18:01:45 +01:00
peaklabs-dev
e598c20be3
feat(actions): add failure and success actions
2026-02-13 18:01:45 +01:00
peaklabs-dev
e6c9419c7a
refactor: consolidate type imports
2026-02-13 18:01:45 +01:00
peaklabs-dev
9f9608a659
feat(api): add createClient with octokit type
2026-02-13 18:01:44 +01:00
peaklabs-dev
270680f37f
feat(tooling): add isLocal to run things conditionally
2026-02-13 18:01:44 +01:00
peaklabs-dev
108794a756
chore(tooling): ignore summary.html from git
2026-02-13 18:01:44 +01:00
peaklabs-dev
98b1f454a6
feat(tooling): store run summary in tests/summary.html
2026-02-13 18:01:44 +01:00
peaklabs-dev
368a3cc8da
feat(report): add report.ts
...
- writes an action summary and sets action outputs
2026-02-13 18:01:44 +01:00
peaklabs-dev
3ae0d71803
feat(report): add result type
2026-02-13 18:01:43 +01:00
peaklabs-dev
e7325db7a1
feat(report): add action outputs
2026-02-13 16:40:34 +01:00
peaklabs-dev
73939ace26
feat(scripts): check that git is installed in release scripts
2026-02-13 16:22:18 +01:00
peaklabs-dev
fc3bdc7b5d
feat(scripts): restore dist with undo-release
2026-02-13 16:14:46 +01:00
peaklabs-dev
019eb88d3e
feat(scripts): build action during release
2026-02-13 16:14:00 +01:00
peaklabs-dev
16a8616b08
feat(inputs): add 4 new settings to the action inputs
2026-02-13 16:10:40 +01:00
peaklabs-dev
98876a4ee3
refactor(inputs): reorder exemptions based on exemptions.ts
2026-02-13 15:59:26 +01:00
peaklabs-dev
a30cff0b85
feat(exempt): check exemptions in main.ts
2026-02-13 15:59:26 +01:00
peaklabs-dev
580a79cd85
feat(exempt): add exemption checks
2026-02-13 15:59:26 +01:00
peaklabs-dev
014040ced1
feat(inputs): make github-token required
...
- to perform any failure action such as labeling, closing a PR, or leaving just a comment a token is required. Also many valuable checks, such as minGlobalMergeRatio, are only possible with a GitHub token.
2026-02-13 15:59:26 +01:00
peaklabs-dev
d53ed19004
feat(tooling): add GITHUB-TOKEN to inputs and add group comments
2026-02-13 15:59:26 +01:00
peaklabs-dev
77dfc8d16f
feat(tooling): add required GITHUB_REPOSITORY variable
2026-02-13 15:59:25 +01:00
peaklabs-dev
ff80a296c5
chore(inputs): enable milestone exemptions
2026-02-13 15:59:25 +01:00
peaklabs-dev
4bc4d82cc6
feat(context): build context from webhook payload
2026-02-13 15:59:25 +01:00
peaklabs-dev
f8f0f1250c
feat(context): add used payload parameters to context type
2026-02-13 15:59:25 +01:00
peaklabs-dev
f93b44301f
chore(deps): install webhook payload ts definitions
2026-02-13 15:59:25 +01:00
peaklabs-dev
4b488dc869
chore: update package.json keywords
2026-02-13 15:59:24 +01:00
peaklabs-dev
05e7efbb95
feat(scripts): add undo-release.sh script
2026-02-13 15:59:24 +01:00
peaklabs-dev
b25e82648b
feat(scripts): add release.sh script
2026-02-13 15:59:24 +01:00
peaklabs-dev
74b5bb3c0d
feat(context): build context in main.ts
2026-02-13 15:59:24 +01:00
peaklabs-dev
db1b0bbc93
feat(context): add context type
2026-02-13 15:59:23 +01:00
peaklabs-dev
aa214c9365
feat(inputs): add debug logging to settings.ts and fix import
2026-02-13 15:59:23 +01:00
peaklabs-dev
1dc5140db9
chore(core): remove debug logging from main.ts
2026-02-13 15:59:23 +01:00
peaklabs-dev
fde0059305
refactor(inputs): rename blockedKeywords to blockedTerms
2026-02-13 15:59:23 +01:00
peaklabs-dev
b47bcd8f8d
chore(inputs): remove allowedLineEnding rule as it is to heavy
2026-02-13 15:59:23 +01:00
peaklabs-dev
39705d7e06
feat(inputs): add validation to needed inputs
2026-02-13 15:59:22 +01:00
peaklabs-dev
5c600494ce
feat(inputs): add all inputs to the getSettings function
2026-02-13 15:59:22 +01:00
peaklabs-dev
b81c88b2da
feat(inputs): add all inputs to the settings type
2026-02-13 15:59:22 +01:00
peaklabs-dev
dc790dc7ce
feat(inputs): add all inputs to the input enum
2026-02-13 15:59:22 +01:00
peaklabs-dev
91174fb5e1
feat(inputs): add inputs to action.yaml
...
Update action.yaml
Update action.yaml
2026-02-13 15:59:22 +01:00
peaklabs-dev
df6cffb062
feat(inputs): get settings in main.ts
2026-02-12 22:07:21 +01:00
peaklabs-dev
eed4f4300a
feat(inputs): add githubToken and helper methods to settings.ts
...
- add parseList helper method which parses comma-separated strings into an array
- add validateNumber helper method
- add githubToken to the getSettings function
- set githubToken as a secret to mask it from logs
2026-02-12 22:07:21 +01:00
peaklabs-dev
b6a9398c78
feat(inputs): add github-token to inputs in action.yaml
2026-02-12 22:07:21 +01:00
peaklabs-dev
f299234c5a
feat(inputs): add github-token to enum and type
2026-02-12 00:07:36 +01:00
peaklabs-dev
185d78b355
feat(setup): improve inputs setup
...
- rename inputs file and input type to settings
- export type via index.ts for easier importing
- add a getSettings function to settings.ts which will be used to load all inputs
- export an empty Input enum
2026-02-12 00:07:36 +01:00
peaklabs-dev
8cb79230b2
feat(tooling): improve .env.example
...
- simplify and clean up comments without loosing details
- remove unused environment variables
- order and group environment variables better
2026-02-12 00:07:36 +01:00
peaklabs-dev
0b72332bd2
test: add base event.json file
2026-02-11 14:10:50 +01:00
peaklabs-dev
fdad99ce5f
chore(tooling): add local-action to run the action locally
2026-02-09 15:29:55 +01:00
peaklabs-dev
4a83aab034
feat(core): add typed error handling to main run function
2026-02-09 15:19:49 +01:00
peaklabs-dev
db5a53f500
chore(deps): add core github action dependencies
2026-02-09 15:16:15 +01:00
peaklabs-dev
ddb5212dd3
chore: add keywords to package.json and change action icon
2026-02-09 15:07:36 +01:00
peaklabs-dev
d61760e498
chore(tooling): add strict tsconfig.json
2026-02-09 01:44:28 +01:00
peaklabs-dev
6e5576e193
chore(tooling): add and configure eslint for linting
2026-02-09 01:44:28 +01:00
peaklabs-dev
7188342c38
chore(tooling): add and configure prettier for formatting
2026-02-09 01:44:28 +01:00
peaklabs-dev
c5c7291096
chore(tooling): add and configure tsdown for bundling
2026-02-09 01:44:27 +01:00
peaklabs-dev
be1848b1a2
docs: add SECURITY.md
2026-02-09 01:44:27 +01:00
peaklabs-dev
4aa6c29303
chore(repo): add FUNDING.yaml
2026-02-09 01:44:27 +01:00
peaklabs-dev
0b3737c831
chore(setup): add AGPL-3.0 license
2026-02-09 01:44:27 +01:00
peaklabs-dev
ab439f9be5
feat(setup): add base skeleton
2026-02-09 01:44:26 +01:00