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
4014bc63c1
- format code
2024-03-01 19:24:09 +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
Ankio
0052b3d1ab
tests:add gitea test cases and fix tests error
2023-11-01 11:05:55 +08:00
Ankio
cf290252e4
tests:fix tests error after extra github platform
2023-10-31 22:50:18 +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
52f6094850
- update various test-cases to operate based on cached data retrieved from the API
...
- especially for historic data where PRs from over 2+ years is pulled that makes a major difference
2023-08-25 09:25:28 +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
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
80485ce20e
- update tests for new configuration option
2023-07-28 10:08:17 +00:00
Mike Penz and GitHub
48896744b7
- update the default categories to include the uncategorized category
2023-06-11 20:07:14 +00:00
Mike Penz and GitHub
827f10329d
- remove removed function argument
2023-06-04 10:32:28 +00:00
Mike Penz and GitHub
611841bdc1
- fix test configuration
2023-05-30 15:23:47 +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
96975870c4
- fix tests, require to call mergeConfiguration to apply defaults
2023-01-03 15:57:27 +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
4cc48881f7
- recompile dist
2022-07-30 09:04:48 +02:00
Mike Penz
d2a15abb64
- drop support for tag SHA as in most cases this information is not available at the moment
...
- introduce new testcase to verify `DAYS_SINCE` calculation
- fix wrong log messages using the `TagInfo` object instead the name
- add additional log messages
2022-07-26 16:48:06 +02:00
Mike Penz
c061d0e577
- introduce new configuration flag to fetchReleaseInformation
...
- if enabled, it will unlock the ability to use new placeholders
- `${{ DAYS_SINCE }}`
- `${{ FROM_TAG_DATE }}`
- `${{ TO_TAG_DATE }}`
- refactor to carry on the full `TagInfo` information instead of only the tagname
- refresh testcases to new apis
2022-07-26 16:47:23 +02:00
Mike Penz
55354469a8
- introduce new additional placeholders useable for building the changelog
...
| **Placeholder** | **Description** | **Empty** |
|----------------------------|----------------------------------------------------------------------------------------------------|:---------:|
| `${{CHANGED_FILES}}` | The count of changed files. | |
| `${{ADDITIONS}}` | The count of code additions (lines). | |
| `${{DELETIONS}}` | The count of code deletions (lines). | |
| `${{CHANGES}}` | The count of total changes (lines). | |
| `${{COMMITS}}` | The count of commits in this release. | |
- restructure project to return additional diff related information along the individual commits
- update testcases to verify functionality of new placeholders
2022-07-26 14:14:16 +02:00
Mike Penz
1e867df2de
- introduce new flag allowing to fetch reviewers who approved PRs
...
- add new testcase which verifies approvers being included
- adjust config for some test cases to verify reviewers not being pulled if disabled
2022-04-08 12:13:21 +02:00
Mike Penz
f60b8b4167
- expand custom assignment and add testcase to verify ability to construct custom categories involving states of PRs
2022-04-08 11:00:40 +02:00
Mike Penz
6211ea4995
- expand log messages
...
- introduce test case to verify the inclusion of the open PR as part of the standard PR set
2022-04-08 11:00:39 +02:00
Mike Penz
85af6a8181
- introduce new flag to include open PRs into the changelog
...
- only fetch open with this flag
- expand pull request spec with
- status, created at timestamp
- expand definition for placeholder patterns in the changelog
2022-04-08 11:00:39 +02:00
Leo Giovanetti
71cd64f865
Adding baseUrl for GHE auth
2021-12-03 18:47:02 -03:00
Mike Penz
59a6af0516
- restructure transform.test.ts
...
- format test files
2021-08-27 11:59:12 +02:00
Mike Penz
d22595ba8b
- rework toTag resolving fallback if build was not started from a tag
...
- fallback to retrieve `toTag` from git API (only if 2 tags are available)
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/427
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/433
- introduce test case to verify
2021-08-15 10:56:55 +02:00
Mike Penz
f8918d6247
- introduce new API adding support to extract additional PR labels from the PR message. This can also be used to organise the changelog in commitMode
...
- adjust RegExp to be executed in unicode mode, allows referencing a emoji via `.`
- introduce new testcase for emoji mode with label extractor
2021-02-19 14:59:54 +01:00
Mike Penz
d66aa0a4e5
- introduce experimental (light) commit based changelog generation mode
...
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/141
- this is not fully supported and not documented as it lacks big amounts of the features we know and love
- npm install
- recompile dist
2021-01-07 15:31:18 +01:00
Mike Penz
c62484d339
- try to fix tests
2020-11-17 15:44:01 +01:00
Mike Penz
db78e9819a
- introduce capability to have a category for all uncategorized elements (e.g. no matched label, and not specifically ignored)
2020-11-04 14:16:14 +01:00
Mike Penz
8323240009
- introduce support for specifying labels which will ignore PRs from being included in the changelog
...
- please note ignored changelogs can be still included i the changelog via the according placeholder
- fix count for categorizedPrs
2020-11-04 13:55:49 +01:00
Mike Penz
bdb790ac5e
- introduce tests to verify new placeholders used for template and empty_template
2020-10-19 18:04:56 +02:00
Mike Penz
8b6119add8
- split logic to validate and read in additional details for changelog generation into new releaseNotesBuilder
...
- construct main class to be as simple as possible
2020-10-19 17:28:54 +02:00