Mike Penz
d34fad209b
- make contributor list to include the @
2024-06-20 11:52:50 +02:00
Mike Penz
28b9afa1d6
- introduce minimalistic CONTRIBUTORS output for changelogs
...
- This is based only on PR authors at this time
- RELATES TO https://github.com/mikepenz/release-changelog-builder-action/pull/1338
- Thanks @Freezor
2024-06-20 11:46:23 +02:00
Oliver
31b028f1cc
fix spellings
2024-06-15 21:08:31 +02:00
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
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
eaf255d3da
- adjust logic to collect entries in the category (with the side effect for it to have autamtic support to inject changelog lines)
2024-03-01 19:11:06 +00:00
Mike Penz and GitHub
47ab0d34bc
- break out some functionality when transforming the pull requests into the changelog
2024-03-01 18:22:00 +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
Ankio
e08045ee77
style: code formatting
2023-11-01 11:05:11 +08:00
Ankio
82350e1ed7
fix: removed github url
2023-11-01 08:11:04 +08: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
6e2d9ccd46
- include error in log for bad replacer regex
...
- allow category only with rules (and no labels) in exhaustive mode
2023-08-25 09:52:18 +00:00
Mike Penz and GitHub
304550b714
- lower info on extracted reference being invalid to NaN -> it may be expected (not every PR references other PRs)
2023-08-25 09:38:15 +00:00
Mike Penz and GitHub
ce66235291
- adjust pr-collector inclusion, to simplify debugging
2023-08-18 17:16:42 +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
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
a474b82119
- respect the exclude label for the uncategorized cateogry
...
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/1178
2023-07-28 10:22:16 +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
a47627e260
- upate imports
2023-06-04 10:31:25 +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
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
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
5d46efec54
- add ability to provide key for cateogry, used for json ('categorized') output
2023-05-25 17:59:11 +00:00
Mike Penz and GitHub
be9b53104e
- include new categorized output which contains a serialized JSON string with the categorized pull requests
2023-05-19 16:22:11 +00:00
Mike Penz and GitHub
9368ec2457
- rename to exhaustive_rules
...
- recompile dist
2023-05-03 17:49:57 +00: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
Mike Penz and GitHub
6757bebf45
- fix array placeholders are not correctly replaced
2023-02-26 12:15:03 +00:00
Mike Penz and GitHub
6bf521e144
- introduce additional debug logs
2023-02-26 11:03:59 +00:00
giambo
62a76fe0dc
Add category title to changelog only if present; avoid "undefined" if not specified.
2023-01-28 13:05:28 +01:00
Mike Penz and GitHub
981b531f21
- ensure to detect if a PR was matched once (e.g. it's not not categorized)
2023-01-06 10:04:01 +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
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
e0b335b098
- add ability to trim values prior to inserting them in templates
2022-12-09 14:55:28 +00:00
Mike Penz and GitHub
27d0a0a53c
- update replacement logic for array and comment types (fix cleanup if no match)
...
- adjust style definition - 140 line length
2022-12-09 14:09:40 +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 and GitHub
5c9a6d23c2
- limit final pull requests based on the defined max_pull_requests count
2022-12-09 13:03:23 +00:00
Mike Penz and GitHub
38aabea998
- add capability to fetch review comments and use them as part of the target template
...
- allow array syntax to be used as part of reviewers, approvers, assignees
2022-12-09 13:03:23 +00:00
Mike Penz and GitHub
7885e80a58
- fix undefined for match regex
...
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/965
2022-12-09 12:46:07 +00:00
Mike Penz
6d479c1d5a
- format and recompile dist
2022-10-19 17:34:04 +02:00
Mike Penz
727fe7d827
- differentiate full match vs no match by checking the regex match when filling the placeholders
...
- This means that transforms which don't match to function as before, but also offers the flexibility if a match results in the equal content as the original to be handled properly
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/929
2022-10-19 17:29:01 +02:00
Malte Hallström
e8ee90b94f
- cleanup unmatched custom ph:s from pr template
2022-08-16 16:05:39 +02:00
Mike Penz and GitHub
63b88e3bff
- ensure log message is properly displayed as string
2022-08-09 16:47:12 +00:00
Mike Penz and GitHub
bed15c1b24
- add more logs for custom placeholders
...
- write up experimental docs for custom placeholders
2022-08-05 12:45:37 +00:00
Mike Penz
2f418c46e5
- exclude custom placeholder content if there was no match
2022-07-30 08:15:32 +02:00
Mike Penz and GitHub
74dd88f60c
- add logic which cleans up custom placeholders with the [] syntax which were not matched
2022-07-29 16:40:39 +00:00
Mike Penz and GitHub
fba9cdb51d
- expand custom placeholders to the global template
...
- introuce capability of accessing and referencing custom placeholders of PRs in the global template
```
${{CUSTOM_PLACEHOLDER[0]}}
${{CUSTOM_PLACEHOLDER[*]}}
```
- introduce new testcase checking the custom placeholder functionality
2022-07-29 16:11:14 +00:00
Mike Penz and GitHub
7b1021454a
- introduce capability for custom placeholders also to the global template
...
- introduce new convenient functions to handle this
2022-07-29 14:54:45 +00:00
Mike Penz and GitHub
15a108d43e
- introduce ES2021.String for replaceAll
...
- expand Configuration with `custom_placeholders` configuration
- custom placeholders allow to extract values of placeholders and then use these in templates
- refactor replacing PR template values
2022-07-29 14:29:50 +00:00