Commit Graph
205 Commits
Author SHA1 Message Date
Pavel Sklenar 3e7f8e79c0 chore: Update resolveMode function to handle commitMode 2024-07-31 07:32:03 +02:00
Mike PenzandGitHub 76ceff7ddb - make gitea labels lowercase so categories are matched case insensitive
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/1345
2024-07-26 07:14:12 +00:00
Mike Penz 09758f3887 - ensure contributors are not listed multiple times
- provide `EXTERNAL_CONTRIBUTORS` template, not including the lib owner
2024-06-23 08:39:37 +02:00
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 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 c326a5bb2b - fallback to commit.commit author if commit author does not has a result
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/1327
2024-04-10 11:53:49 +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 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 39d8ac4b4f - clear categories in tests as we run in the same process multiple times 2024-03-01 19:23:22 +00:00
Mike PenzandGitHub 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 PenzandGitHub 47ab0d34bc - break out some functionality when transforming the pull requests into the changelog 2024-03-01 18:22:00 +00:00
Mike PenzandGitHub 2a0a3aa6dc - drop exec and execAll in favor of the much simpler regexr based solution
- define regex, define target pattern. success 🎉
2024-03-01 16:42:29 +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 ce8f7c0046 - sort by updated instead of merged
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/1300
2024-02-09 14:33:15 +00:00
Mike PenzandGitHub 0e00e184e7 - improve formatting
- add some more comments
2023-11-05 10:30:10 +00:00
Mike PenzandGitHub 2538eab26b - better handle homeUrl for enterprise instances with different urls (used by replace pattern for comparison string) 2023-11-05 10:14:30 +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 0e343173ba fix: gitea error 2023-11-01 13:29:37 +08:00
Ankio 6b4929c3c5 style: format code 2023-11-01 12:45:14 +08:00
Ankio f898026f26 fix:usage error 2023-11-01 12:36:36 +08:00
Ankio e08045ee77 style: code formatting 2023-11-01 11:05:11 +08:00
Ankio 08cf89bc11 feat:extra pulls variable 2023-11-01 11:04:21 +08:00
Ankio 82350e1ed7 fix: removed github url 2023-11-01 08:11:04 +08:00
Ankio 549ee31eaa feat:add gitea platform resolver 2023-10-31 22:46:26 +08:00
Ankio 476af24df0 refactor: Extract github platform resolver 2023-10-31 22:45:39 +08:00
Ankio 0bb95b5a6f refactor: Extract github-related calls 2023-10-31 17:51:00 +08: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 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 PenzandGitHub 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 PenzandGitHub 8af70e55a6 - only create the temp dir if it does not exist 2023-08-25 08:25:16 +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 ce66235291 - adjust pr-collector inclusion, to simplify debugging 2023-08-18 17:16:42 +00:00
Mike PenzandGitHub d8188193ab - drop github prefix of pr-collector 2023-08-18 16:56:13 +00:00
Mike PenzandGitHub 581892325b - fix lint errors 2023-08-02 15:18:09 +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 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 PenzandGitHub e463dcb45c - introduce new configuration fetchViaCommits which is best suited for environments with shorter diffs and/or squash merging (1 api request per commit) 2023-07-28 10:08:07 +00:00
Mike PenzandGitHub da760e9604 - fix problem resulting in toTag and fromTag name not correctly set after retrieving from cache 2023-07-18 20:07:34 +00:00
Mike PenzandGitHub 34e64f17ce - upgrade final dependencies to solve compile errors 2023-07-14 08:44:12 +00:00
Mike PenzandGitHub f556874ff0 - improve setting the outputs when loading the pr data from the cache 2023-07-13 07:59:19 +00:00
Mike PenzandGitHub 99c5a385af - ensure we re-create a moment instance from the cache loaded data 2023-07-12 19:11:32 +00:00
Mike PenzandGitHub 48896744b7 - update the default categories to include the uncategorized category 2023-06-11 20:07:14 +00:00
Mike PenzandGitHub 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 PenzandGitHub e2fe4592e1 - adjust log message 2023-06-04 10:59:59 +00:00
Mike PenzandGitHub a47627e260 - upate imports 2023-06-04 10:31:25 +00:00
Mike PenzandGitHub 5dd6b400c7 - replace ENV variable output with normal output (requires re-passing)
- update README
2023-06-04 10:20:31 +00:00
Mike PenzandGitHub 91da901770 - move around some parts of the code 2023-06-04 09:59:53 +00:00