Commit Graph
254 Commits
Author SHA1 Message Date
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 fa8a70f37a - npm upgrade 2023-05-19 15:59:34 +00:00
Mike PenzandGitHub b23a9d08a2 ```
@octokit/rest              ^19.0.7  →  ^19.0.8
 @types/node                ^20.1.1  →  ^20.2.1
 @typescript-eslint/parser  ^5.59.5  →  ^5.59.6
 https-proxy-agent           ^6.1.0  →   ^6.2.0
 semver                      ^7.5.0  →   ^7.5.1
 webpack                    ^5.82.0  →  ^5.83.1
 ```
2023-05-19 15:56:34 +00:00
Mike PenzandGitHub 6a3ddaf821 ```
@types/node                ^18.16.3  →  ^20.1.1
 @types/semver               ^7.3.13  →   ^7.5.0
 @typescript-eslint/parser   ^5.59.2  →  ^5.59.5
 eslint                      ^8.39.0  →  ^8.40.0
 https-proxy-agent            ^5.0.1  →   ^6.1.0
 webpack                     ^5.81.0  →  ^5.82.0
 ```
2023-05-09 04:19:08 +00:00
Mike PenzandGitHub 9368ec2457 - rename to exhaustive_rules
- recompile dist
2023-05-03 17:49:57 +00:00
Federico M. Facca aa0c892e1d fix mapping to string of number value 2023-05-03 15:35:50 +02:00
Mike PenzandGitHub 0b85fe15a1 - recompile dist 2023-02-26 12:32:10 +00:00
Mike PenzandGitHub 6bf521e144 - introduce additional debug logs 2023-02-26 11:03:59 +00:00
Mike PenzandGitHub e760678c39 ```
@octokit/rest                ^19.0.5  →   ^19.0.7
 @types/jest                  ^29.2.5  →   ^29.4.0
 @types/node                ^18.11.18  →  ^18.14.0
 @typescript-eslint/parser    ^5.48.0  →   ^5.52.0
 @vercel/ncc                  ^0.36.0  →   ^0.36.1
 eslint                       ^8.31.0  →   ^8.34.0
 eslint-plugin-github          ^4.6.0  →    ^4.6.1
 eslint-plugin-jest           ^27.2.0  →   ^27.2.1
 jest                         ^29.3.1  →   ^29.4.3
 jest-circus                  ^29.3.1  →   ^29.4.3
 prettier                       2.8.1  →     2.8.4
 ts-jest                      ^29.0.3  →   ^29.0.5
 typescript                    ^4.9.4  →    ^4.9.5
 ```
2023-02-18 11:53:55 +00:00
Mike PenzandGitHub 63a38717ce - recompile dist 2023-02-18 11:50:48 +00: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
Mike PenzandGitHub f2b16254cf - update compiled code 2023-01-03 17:34:27 +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 e0b335b098 - add ability to trim values prior to inserting them in templates 2022-12-09 14:55:28 +00:00
Mike PenzandGitHub 27d0a0a53c - update replacement logic for array and comment types (fix cleanup if no match)
- adjust style definition - 140 line length
2022-12-09 14:09:40 +00:00
Mike PenzandGitHub 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 PenzandGitHub 2fe056f840 - optimize performance by respecting the max_pull_request setting for fetching PRs via the API already 2022-12-09 13:03:23 +00:00
Mike PenzandGitHub 5c9a6d23c2 - limit final pull requests based on the defined max_pull_requests count 2022-12-09 13:03:23 +00:00
Mike PenzandGitHub 38aabea998 - add capability to fetch review comments and use them as part of the target template
- allow array syntax to be used as part of reviewers, approvers, assignees
2022-12-09 13:03:23 +00:00
Mike PenzandGitHub 7885e80a58 - fix undefined for match regex
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/965
2022-12-09 12:46:07 +00:00
Mike PenzandGitHub 684e7f5b0c - update dependencies to latest stable release
```
 @types/jest                 ^29.1.2  →   ^29.2.3
 @types/node                ^18.11.0  →  ^18.11.9
 @types/semver               ^7.3.12  →   ^7.3.13
 @typescript-eslint/parser   ^5.40.0  →   ^5.44.0
 eslint                      ^8.25.0  →   ^8.28.0
 eslint-plugin-github         ^4.4.0  →    ^4.4.1
 eslint-plugin-jest          ^27.1.2  →   ^27.1.5
 jest                        ^29.2.0  →   ^29.3.1
 jest-circus                 ^29.2.0  →   ^29.3.1
 prettier                      2.7.1  →     2.8.0
 typescript                   ^4.8.4  →    ^4.9.3
 webpack                     ^5.74.0  →   ^5.75.0
 ```
2022-11-24 08:33:24 +00:00
Mike Penz 2800a9dd18 - introduce more lgos to better identify when PRs are filtered out
- Related to: https://github.com/mikepenz/release-changelog-builder-action/issues/939
2022-10-27 17:02:32 +02:00
Mike Penz 6d479c1d5a - format and recompile dist 2022-10-19 17:34:04 +02:00
Mike PenzandGitHub ba6b2fdc87 - upgrade dependencies
```
 @actions/core                ^1.9.1  →   ^1.10.0
 @actions/github              ^5.0.3  →    ^5.1.1
 @octokit/rest               ^19.0.4  →   ^19.0.5
 @types/jest                 ^28.1.8  →   ^29.1.2
 @types/node                ^18.7.13  →  ^18.11.0
 @typescript-eslint/parser   ^5.35.1  →   ^5.40.0
 eslint                      ^8.22.0  →   ^8.25.0
 eslint-plugin-github         ^4.3.7  →    ^4.4.0
 eslint-plugin-jest          ^26.8.7  →   ^27.1.2
 jest                        ^28.1.3  →   ^29.2.0
 jest-circus                 ^28.1.3  →   ^29.2.0
 semver                       ^7.3.7  →    ^7.3.8
 ts-jest                     ^28.0.8  →   ^29.0.3
 typescript                   ^4.8.2  →    ^4.8.4
 ```
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/924
2022-10-17 12:42:14 +00:00
Mike PenzandGitHub 27d94d81f6 - update dependencies
```
Package                    Current   Wanted   Latest  Location                                Depended by
@types/jest                 28.1.7   28.1.8   28.1.8  node_modules/@types/jest                release-changelog-builder-action
@types/node                 18.7.6  18.7.13  18.7.13  node_modules/@types/node                release-changelog-builder-action
@typescript-eslint/parser   5.33.1   5.35.1   5.35.1  node_modules/@typescript-eslint/parser  release-changelog-builder-action
eslint-plugin-jest          26.8.3   26.8.7   26.8.7  node_modules/eslint-plugin-jest         release-changelog-builder-action
jest                        28.1.3   28.1.3   29.0.0  node_modules/jest                       release-changelog-builder-action
jest-circus                 28.1.3   28.1.3   29.0.0  node_modules/jest-circus                release-changelog-builder-action
typescript                   4.7.4    4.8.2    4.8.2  node_modules/typescript                 release-changelog-builder-action
```
2022-08-26 08:56:08 +00:00
Mike PenzandGitHub aa57d8638c - recompile dist 2022-08-26 08:52:21 +00:00
Mike Penz 89e7a9caf5 - valid does not take the includePrerelease option 2022-08-16 17:07:20 +02:00
Mike Penz e5c1179611 - dependency updates
```
Package                    Current  Wanted  Latest  Location                                Depended by
@octokit/rest               19.0.3  19.0.4  19.0.4  node_modules/@octokit/rest              release-changelog-builder-action
@types/jest                 28.1.6  28.1.7  28.1.7  node_modules/@types/jest                release-changelog-builder-action
@types/node                 18.6.5  18.7.6  18.7.6  node_modules/@types/node                release-changelog-builder-action
@types/semver               7.3.10  7.3.12  7.3.12  node_modules/@types/semver              release-changelog-builder-action
@typescript-eslint/parser   5.33.0  5.33.1  5.33.1  node_modules/@typescript-eslint/parser  release-changelog-builder-action
eslint                      8.21.0  8.22.0  8.22.0  node_modules/eslint                     release-changelog-builder-action
eslint-plugin-jest          26.8.2  26.8.3  26.8.3  node_modules/eslint-plugin-jest         release-changelog-builder-action
ts-jest                     28.0.7  28.0.8  28.0.8  node_modules/ts-jest                    release-changelog-builder-action
```
2022-08-16 16:56:54 +02:00
Mike Penz 751693c311 - recompile dist
- add additional never matching custom placeholder to verify behavior
2022-08-16 16:52:26 +02:00
Malte Hallström 6c44b7473d - build and package project 2022-08-16 16:35:14 +02:00
Mike PenzandGitHub 2141e3fb4f - update dependencies
```
Package                    Current  Wanted  Latest  Location                                Depended by
@actions/core                1.9.0   1.9.1   1.9.1  node_modules/@actions/core              release-changelog-builder-action
@types/node                 18.6.4  18.6.5  18.6.5  node_modules/@types/node                release-changelog-builder-action
@typescript-eslint/parser   5.32.0  5.33.0  5.33.0  node_modules/@typescript-eslint/parser  release-changelog-builder-action
eslint-plugin-jest          26.7.0  26.8.2  26.8.2  node_modules/eslint-plugin-jest         release-changelog-builder-action
```
2022-08-10 12:27:25 +00:00
Mike PenzandGitHub e38965eec7 - adjust agent to be undefined instead of an empty object 2022-08-10 12:20:56 +00:00
Florian Hopfensperger 97db2b0c39 Add HTTP proxy functionality
Signed-off-by: Florian Hopfensperger <florian.hopfensperger@allianz.de>

- lower proxy functionality to Https for now (the general proxy package adds a ton of dependencies - which are difficult to review)

Add octokit documentation

Signed-off-by: Florian Hopfensperger <florian.hopfensperger@allianz.de>

Lint & build & packaged

Signed-off-by: Florian Hopfensperger <florian.hopfensperger@allianz.de>
2022-08-10 08:36:32 +02:00
Mike PenzandGitHub 63b88e3bff - ensure log message is properly displayed as string 2022-08-09 16:47:12 +00:00
Mike PenzandGitHub 09f88b90a5 - update dependencies
```
Package                    Current  Wanted  Latest  Location                                Depended by
@types/node                 18.6.2  18.6.4  18.6.4  node_modules/@types/node                release-changelog-builder-action
@typescript-eslint/parser   5.31.0  5.32.0  5.32.0  node_modules/@typescript-eslint/parser  release-changelog-builder-action
eslint                      8.20.0  8.21.0  8.21.0  node_modules/eslint                     release-changelog-builder-action
eslint-plugin-jest          26.6.0  26.7.0  26.7.0  node_modules/eslint-plugin-jest         release-changelog-builder-action
```
2022-08-05 12:54:11 +00:00
Mike PenzandGitHub bed15c1b24 - add more logs for custom placeholders
- write up experimental docs for custom placeholders
2022-08-05 12:45:37 +00:00
Mike Penz 4cc48881f7 - recompile dist 2022-07-30 09:04:48 +02:00
Mike Penz 2f418c46e5 - exclude custom placeholder content if there was no match 2022-07-30 08:15:32 +02:00
Mike PenzandGitHub 74dd88f60c - add logic which cleans up custom placeholders with the [] syntax which were not matched 2022-07-29 16:40:39 +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 7b1021454a - introduce capability for custom placeholders also to the global template
- introduce new convenient functions to handle this
2022-07-29 14:54:45 +00:00
Mike PenzandGitHub b1ea770a88 - reformat source - lineLength 120 2022-07-29 13:48:53 +00:00
Mike PenzandGitHub 72b4e5f1ef - update dependencies
```
    "@types/node": "^18.6.1",
```
2022-07-29 11:11:02 +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 c4a63d86ad - introduce branch (head ref) as data point in the PullRequestInfo object
- expand extractor to allow using the `branch` -> e.g. to extract the label
2022-07-27 17:19:50 +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