Pavel Sklenar
3e7f8e79c0
chore: Update resolveMode function to handle commitMode
2024-07-31 07:32:03 +02:00
Oliver
31b028f1cc
fix spellings
2024-06-15 21:08:31 +02:00
Mike Penz and GitHub
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 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
e08045ee77
style: code formatting
2023-11-01 11:05:11 +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
8af70e55a6
- only create the temp dir if it does not exist
2023-08-25 08:25:16 +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
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
99c5a385af
- ensure we re-create a moment instance from the cache loaded data
2023-07-12 19:11:32 +00:00
Mike Penz and GitHub
5dd6b400c7
- replace ENV variable output with normal output (requires re-passing)
...
- update README
2023-06-04 10:20:31 +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
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 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
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
b1ea770a88
- reformat source - lineLength 120
2022-07-29 13:48:53 +00:00
Mike Penz and GitHub
f55f49981d
- adjust placeholder for yml as ${{}} is reserved
2022-07-29 09:30:57 +00:00
Mike Penz and GitHub
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