Commit Graph
188 Commits
Author SHA1 Message Date
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
Mike PenzandGitHub 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 PenzandGitHub 29993b6dbd - improve example
- fix imports
2023-05-26 13:50:19 +00:00
Mike PenzandGitHub 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 PenzandGitHub 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 PenzandGitHub 5d46efec54 - add ability to provide key for cateogry, used for json ('categorized') output 2023-05-25 17:59:11 +00:00
Mike PenzandGitHub 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 PenzandGitHub 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
Federico M. Facca aa0c892e1d fix mapping to string of number value 2023-05-03 15:35:50 +02:00
Federico M. Facca 4da4b3fa8e add number in the list of properties supported for rules 2023-05-03 14:22:34 +02:00
Mike PenzandGitHub 6757bebf45 - fix array placeholders are not correctly replaced 2023-02-26 12:15:03 +00:00
Mike PenzandGitHub cad1ca5504 - enhance performance (remove code duplication)
- we can now fetch full reviews, no need to do reviewers individually
- enhanced logging
2023-02-26 12:14:43 +00:00
Mike PenzandGitHub 0ce8384e73 - add additional logs on handling of configs (e.g. identify which config was picked) - outline if no config was picked and defaults are used 2023-02-26 12:13:36 +00:00
Mike PenzandGitHub 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 PenzandGitHub 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 PenzandGitHub 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