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