Commit Graph
24 Commits
Author SHA1 Message Date
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 5dd6b400c7 - replace ENV variable output with normal output (requires re-passing)
- update README
2023-06-04 10:20:31 +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 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 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 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 PenzandGitHub 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 PenzandGitHub 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 PenzandGitHub 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 PenzandGitHub b1ea770a88 - reformat source - lineLength 120 2022-07-29 13:48:53 +00:00
Mike PenzandGitHub f55f49981d - adjust placeholder for yml as ${{}} is reserved 2022-07-29 09:30:57 +00:00
Mike PenzandGitHub 02b79cb00a - introduce capability to define the Configuration via the build yml without the requirement of a file
- this also allows to generate changelogs without the need to chech-out
2022-07-29 09:21:44 +00:00
Mike Penz a035e38233 - introduce additional logging to better identify if configuration was configured and properly loaded.
- print configuration as json in debug
2021-09-14 13:26:01 +02:00
Mike Penz cfac2f37a1 - introduce new configuration option to define category labels to be exhaustive
- require all labels of a category to be present in the matching PR
- update to typescript 4.4.x
- recompile dist
2021-08-27 11:41:20 +02:00
Mike Penz 6a2da2fa89 - upgrade dependencies
- recompile dist
- fix eslint errors, update eslint rules
2021-08-14 18:07:18 +02:00
invakid404 dead9527b4 feat: keep labels in a set and make them lowercase 2021-06-23 10:31:36 +03:00
Mike Penz 1f2d0ea832 - differentiate between configuration not found vs configuration could not be parsed
- help with https://github.com/mikepenz/release-changelog-builder-action/issues/147
2021-01-05 18:30:26 +01:00
Mike Penz a463f188c1 - introduce new API allowing to write changelog directly to result file
- introduce test case for writing a file
2020-12-30 17:49:41 +01:00
Mike Penz 3fd4677f8a - introduce new capability to enforce a build failure
- introduce config to fail on error instead of just logging
- simplify main logic, move functionality in other classes
2020-10-18 11:06:02 +02:00
Mike Penz f63fa1dabb - fix formatting, and unused import 2020-10-17 19:42:26 +02:00
Mike Penz bd49950417 - use different pen for write logs
- remove default value for configuration, to cleanly fallback to defaults
- rename gitHelper, move dir exists helper
- add reading input values group
- improve warning for configuration
2020-10-17 19:37:11 +02:00
Mike Penz b464ff088a - introduce better more stable fallbacks in case the configuration is missing
- move configurations into subfolder for easier discovery
- simplify missing value fallback specification
2020-10-17 18:02:08 +02:00
Mike Penz db70432deb - fix a ton of formatting issues automatically
- fix many javascript issues
2020-10-16 16:29:13 +02:00
Mike Penz 0a66008df0 - introduce proper approach to retrieve tag before a given tag
- add configuration options for
  - path
  - configuration
  - fromTag, toTag
  - token
- allow to specify transformers to adjust information to a specific form
- allow to specify different templates
- speed up by limiting information to pull
- add logic to automatically resolve current
- use github actions logger
2020-10-16 15:52:24 +02:00