Commit Graph
132 Commits
Author SHA1 Message Date
Mike Penz 6c979ed7a6 - also test the offline variant 2025-07-13 16:02:22 +02:00
Mike Penz 8357bc6ec1 - make sure we reset env prior to the next test
- our new test requires history to be available
2025-07-13 16:02:14 +02:00
Mike Penz 0f359e3526 - apply codeQL rule
- enable comment on PR with test result
2025-07-13 15:25:50 +02:00
Mike Penz 86dff767a7 - add new experimental OFFLINE mode which will only generate changelogs based on commits
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/1459
2025-07-13 15:05:13 +02:00
Mike Penz 5430414741 Revert "- fix tests"
This reverts commit c44347b677.
2025-02-17 21:42:36 +01:00
Mike Penz c44347b677 - fix tests 2025-02-17 21:37:42 +01:00
Bob LoblawandMike Penz b8fa364bab Implement commit_template 2025-01-31 20:10:11 +01:00
Mike Penz 37583826d7 - attempt to fix tests 2025-01-31 19:37:05 +01:00
Mike Penz c504e7b4cb - attempt to fix jest 2025-01-31 19:28:05 +01:00
Mike Penz 4f593aa41e - attempt to fix module 2025-01-31 19:23:48 +01:00
Mike Penz 0f404b0f90 - update dependencies
- upgrade octokit/rest
- attempt to fix jest with new octokit version
2025-01-31 19:16:53 +01:00
Mike Penz 30758be82d - attempt to move to ESM from CJS 2024-12-14 12:25:28 +01:00
Bob LoblawandMike Penz 0ae6d98e17 Refactor transform.ts and others 2024-11-02 09:42:54 +01:00
Mike PenzandGitHub db67f239f2 - fix test utils 2024-08-07 13:05:11 +00:00
Mike Penz e4615021a6 - fix tests 2024-08-07 14:59:04 +02:00
Mike PenzandGitHub 51541805b8 - revert demo version number 2024-06-20 09:21:10 +00:00
Oliver 31b028f1cc fix spellings 2024-06-15 21:08:31 +02:00
Mike PenzandGitHub 1eff87d3e9 - Enhance error log in case of a fatal error building the changelog
- RELATES TO https://github.com/mikepenz/release-changelog-builder-action/issues/1331
2024-04-11 06:28:47 +00:00
Mike PenzandGitHub 25b221d1d3 - improve documentation to test the action in GitHub codespaces
- simplify README
- include demo test case to speed up setup
2024-03-03 08:32:56 +00:00
Mike PenzandGitHub fb688cc2f5 - fix formatting 2024-03-02 20:24:08 +00:00
Mike PenzandGitHub 2389f61d7e - introduce test case to validate behavior of the regexr regex matching
- introduce test case to validate COMMIT mode with default conventional commit behavior
- introduce testcase to showcase custom placeholder and trim value to convert conventional commits to cleaned titles
2024-03-02 20:23:01 +00:00
Mike PenzandGitHub db235a6627 - introduce new mode configuration (replaces commitMode) with the option for PR, COMMIT or HYBRID (whereas hybrid has commits and PRs alongside)
- introduce new default commit configuration automatically used if `COMMIT` mode is configured. this uses a label extractor to support conventional commits
2024-03-02 12:03:19 +00:00
Mike PenzandGitHub b7c5179f2c - add one more case to the nested testcase 2024-03-01 20:15:08 +00:00
Mike PenzandGitHub f0ad0cf07a - add helper methods for tsts
- add new ability to recursively build changelog
- add feature to consume PRs if they were matched to a category
- keep header if children have entry
2024-03-01 20:11:14 +00:00
Mike PenzandGitHub 4014bc63c1 - format code 2024-03-01 19:24:09 +00:00
Mike PenzandGitHub 39d8ac4b4f - clear categories in tests as we run in the same process multiple times 2024-03-01 19:23:22 +00:00
Mike PenzandGitHub 89d1f43dfa - refactor regex handling for the different usecases to allow providing the preferred method
- introduce new `exec` and `execAll` variants which support named groups
- introduce `replaceAll` in addition to `replace`
- update test cases
- cleanup code
2024-03-01 15:20:31 +00:00
Mike PenzandGitHub 499e2957c4 - add test case to validate the tags transformer 2024-02-29 20:19:37 +00:00
Mike PenzandGitHub 0ed1caaa2b - add new testcase to validate inverse tag resolver 2024-02-29 13:15:04 +00:00
Mike PenzandGitHub 0e00e184e7 - improve formatting
- add some more comments
2023-11-05 10:30:10 +00:00
Mike PenzandGitHub 8afbd5a789 - fix formatting
- apply some smaller fixes
- enable cache for 1 gitea test (no need to use API)
- do not cache and export token in cache
- speed up main.test.ts
2023-11-05 10:05:00 +00:00
Ankio 0052b3d1ab tests:add gitea test cases and fix tests error 2023-11-01 11:05:55 +08:00
Ankio cf290252e4 tests:fix tests error after extra github platform 2023-10-31 22:50:18 +08:00
Mike PenzandGitHub 512b4d3a42 - upgrade to node20 for the GitHub actions
- remove node-fetch as it is no longer required with node 20
- upgrade actions to use node20
2023-09-04 13:52:54 +00:00
Mike PenzandGitHub 695b32d625 - change the default placeholder pattern from ${{}} to #{{}} as this will work for both config.json files and the yaml (${{}} is reserved for github actions syntax) 2023-08-31 19:14:23 +00:00
Mike PenzandGitHub 5dd7722b69 - fix regex in testcase 2023-08-25 09:57:29 +00:00
Mike PenzandGitHub 52f6094850 - update various test-cases to operate based on cached data retrieved from the API
- especially for historic data where PRs from over 2+ years is pulled that makes a major difference
2023-08-25 09:25:28 +00:00
Mike PenzandGitHub a72c0bbc47 - refactor the caching logic given the GitHub action limit on arguments is too small to allow passing in the whole cache
- adjust the `cache` to now only take the file-path to read the cache from
  - offer temporary backwards compatiblity on passing the cache directly
  - add documentation for cache vars in README
2023-08-25 08:23:54 +00:00
Mike PenzandGitHub f8437dbf1f - fix tests with refactored setup 2023-08-18 17:39:16 +00:00
Mike PenzandGitHub d8188193ab - drop github prefix of pr-collector 2023-08-18 16:56:13 +00:00
Mike PenzandGitHub b1045dc542 - delete accidentally commited test file 2023-07-28 13:06:39 +00:00
Mike PenzandGitHub b056614f61 - optimize break condition, if we collected enough PRs 2023-07-28 12:55:55 +00:00
Mike PenzandGitHub 240554bbf4 - upgrade all node dependencies
```
    "@octokit/rest": "^20.0.1",
    "node-fetch": "^3.3.2",
```
2023-07-28 11:47:20 +00:00
Mike PenzandGitHub f0cbee5a3a - add new configuration to enable exportCache (disabled by default)
- this changes behavior since `rc04`
2023-07-28 11:24:47 +00:00
Mike PenzandGitHub 80485ce20e - update tests for new configuration option 2023-07-28 10:08:17 +00:00
Mike PenzandGitHub 236a880ab7 - move pre-release detection to "versioning" 2023-06-18 15:44:21 +00:00
Mike PenzandGitHub 6fdcc2ddda - reverse some unneeded changes 2023-06-11 20:41:03 +00:00
Mike PenzandGitHub 709039ced4 - update tests for change ddefault 2023-06-11 20:28:04 +00:00
Mike PenzandGitHub 48896744b7 - update the default categories to include the uncategorized category 2023-06-11 20:07:14 +00:00
Mike PenzandGitHub 1f64818c28 - add README updates 2023-06-04 18:57:45 +00:00