Mike Penz and GitHub
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 Penz and GitHub
4014bc63c1
- format code
2024-03-01 19:24:09 +00:00
Mike Penz and GitHub
39d8ac4b4f
- clear categories in tests as we run in the same process multiple times
2024-03-01 19:23:22 +00:00
Mike Penz and GitHub
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 Penz and GitHub
499e2957c4
- add test case to validate the tags transformer
2024-02-29 20:19:37 +00:00
Mike Penz and GitHub
0ed1caaa2b
- add new testcase to validate inverse tag resolver
2024-02-29 13:15:04 +00:00
Mike Penz and GitHub
0e00e184e7
- improve formatting
...
- add some more comments
2023-11-05 10:30:10 +00:00
Mike Penz and GitHub
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 Penz and GitHub
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 Penz and GitHub
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 Penz and GitHub
5dd7722b69
- fix regex in testcase
2023-08-25 09:57:29 +00:00
Mike Penz and GitHub
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 Penz and GitHub
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 Penz and GitHub
f8437dbf1f
- fix tests with refactored setup
2023-08-18 17:39:16 +00:00
Mike Penz and GitHub
d8188193ab
- drop github prefix of pr-collector
2023-08-18 16:56:13 +00:00
Mike Penz and GitHub
b1045dc542
- delete accidentally commited test file
2023-07-28 13:06:39 +00:00
Mike Penz and GitHub
b056614f61
- optimize break condition, if we collected enough PRs
2023-07-28 12:55:55 +00:00
Mike Penz and GitHub
240554bbf4
- upgrade all node dependencies
...
```
"@octokit/rest": "^20.0.1",
"node-fetch": "^3.3.2",
```
2023-07-28 11:47:20 +00:00
Mike Penz and GitHub
f0cbee5a3a
- add new configuration to enable exportCache (disabled by default)
...
- this changes behavior since `rc04`
2023-07-28 11:24:47 +00:00
Mike Penz and GitHub
80485ce20e
- update tests for new configuration option
2023-07-28 10:08:17 +00:00
Mike Penz and GitHub
236a880ab7
- move pre-release detection to "versioning"
2023-06-18 15:44:21 +00:00
Mike Penz and GitHub
6fdcc2ddda
- reverse some unneeded changes
2023-06-11 20:41:03 +00:00
Mike Penz and GitHub
709039ced4
- update tests for change ddefault
2023-06-11 20:28:04 +00:00
Mike Penz and GitHub
48896744b7
- update the default categories to include the uncategorized category
2023-06-11 20:07:14 +00:00
Mike Penz and GitHub
1f64818c28
- add README updates
2023-06-04 18:57:45 +00:00
Mike Penz and GitHub
831ac3e7ee
- introduce the ability to reference parent / child PR relationships
...
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/1074
- optimize placeholder removal
- only keep placeholders in array if we have values
2023-06-04 18:48:53 +00:00
Mike Penz and GitHub
827f10329d
- remove removed function argument
2023-06-04 10:32:28 +00:00
Mike Penz and GitHub
91da901770
- move around some parts of the code
2023-06-04 09:59:53 +00:00
Mike Penz and GitHub
9785335233
- adjust dist check
...
- fix import in test
2023-06-04 09:20:10 +00:00
Mike Penz and GitHub
a22e4da945
- update some imports
2023-06-04 09:02:16 +00:00
Mike Penz and GitHub
e7dc26611c
- move pr collection into npm module
...
(publish without any furhter notes or docs)
- refactor action to use npm dependency
2023-06-03 11:22:52 +00:00
Mike Penz and GitHub
611841bdc1
- fix test configuration
2023-05-30 15:23:47 +00:00
Mike Penz and GitHub
bb7c58fa98
- update the transform.test.ts
2023-05-30 15:06:17 +00:00
Mike Penz and GitHub
0a80bc9a3b
- introduce capability of the action running 2 split
...
- first collect all pull requests and export to environment
- second take exported data and continue generation of changelogs (makes it cheaper, by only collecting PRs once)
2023-05-26 13:41:59 +00:00
Mike Penz and GitHub
66470e5f14
- refactor action and move different functionalities in better classes
...
- merge releaseNotes and releaseNotesBuilder
- update testcases to cover new structure
2023-05-26 12:09:48 +00:00
Mike Penz and GitHub
9368ec2457
- rename to exhaustive_rules
...
- recompile dist
2023-05-03 17:49:57 +00:00
Federico M. Facca
d594c56834
revert linter changes
2023-05-03 17:58:12 +02:00
Federico M. Facca
1794edb8f3
add possibility to configure if rules are and/or independently from labels
2023-05-03 17:50:51 +02:00
Federico M. Facca
fa8d0100dc
add test combining number and status
2023-05-03 16:55:49 +02:00
Mike Penz and GitHub
154988c06c
- update test (due to previous PR dropping empty titles)
2023-02-18 12:11:36 +00:00
Mike Penz and GitHub
50dd476bd1
- enhance handling for exhaustive matching
...
- exhaustive will apply on rules and labels alike
- simplify code
- introduce new testcases to check the new behavior
2023-01-06 09:13:30 +00:00
Mike Penz and GitHub
793329d870
- introduce new rules for the Category
...
- the rules can be used to match specified `Properties` with a `RegExp` (uses `test`) - to add them into a category
- This allows more complex changelogs to be constructed, which for example want all `OPEN` PRs in one category
2023-01-03 17:29:56 +00:00
Mike Penz and GitHub
96975870c4
- fix tests, require to call mergeConfiguration to apply defaults
2023-01-03 15:57:27 +00:00
Mike Penz and GitHub
77b2076a3f
- add support for configs to be provided from file and json
...
- define priority on the config json from YML, followed by file, last with the default value
- Simplify code by merging configs right away
- thanks for the suggestion @dtcMLOps
2023-01-03 15:44:57 +00:00
Mike Penz and GitHub
24f4e30f9f
- introduce proper configuration for fetchReviews
...
- drop no longer needed limiting of PRs
- retrieve state from PR review comment
2022-12-09 13:29:06 +00:00
Mike Penz
751693c311
- recompile dist
...
- add additional never matching custom placeholder to verify behavior
2022-08-16 16:52:26 +02:00
Malte Hallström
e8ee90b94f
- cleanup unmatched custom ph:s from pr template
2022-08-16 16:05:39 +02:00
Mike Penz
4cc48881f7
- recompile dist
2022-07-30 09:04:48 +02:00