Commit Graph
1387 Commits
Author SHA1 Message Date
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 6f298fbb86 Merge pull request #1030 from mikepenz/feature/dependency_updates_20230226
Update dependencies
2023-02-26 12:26:38 +01:00
Mike PenzandGitHub 6b686b3769 - update dependencies
```
 @types/node                ^18.14.0  →  ^18.14.1
 @typescript-eslint/parser   ^5.52.0  →   ^5.53.0
 eslint                      ^8.34.0  →   ^8.35.0
 ```
2023-02-26 11:17:33 +00:00
Mike PenzandGitHub aba4666d73 Merge pull request #1029 from mikepenz/feature/more_debug_logs
Introduce additional debug logs
2023-02-26 12:15:02 +01:00
Mike PenzandGitHub 6bf521e144 - introduce additional debug logs 2023-02-26 11:03:59 +00:00
Mike PenzandGitHub dffddcd833 Merge pull request #1024 from mikepenz/feature/dependency_updates_20230218
Upgrade dependencies to latest release
2023-02-18 13:20:42 +01:00
Mike PenzandGitHub aca73df593 - update ci action versions 2023-02-18 12:13:02 +00:00
Mike PenzandGitHub 154988c06c - update test (due to previous PR dropping empty titles) 2023-02-18 12:11:36 +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 25f2cc82ce Merge branch 'ggiambo-filterEmptyCategoryTitle' into develop 2023-02-18 11:51:43 +00:00
Mike PenzandGitHub 63a38717ce - recompile dist 2023-02-18 11:50:48 +00:00
Mike PenzandGitHub d57383d1e2 Merge branch 'develop' into filterEmptyCategoryTitle 2023-02-18 12:47:35 +01:00
Mike PenzandGitHub 49528fd551 - fix devcontainer 2023-02-15 13:21:08 +01: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 bce065a878 Merge pull request #1012 from ckdarby/patch-1
Small typo fix
2023-01-25 15:11:05 +01:00
Cory Kennedy-DarbyandGitHub 67b2599a56 Small typo fix 2023-01-25 07:46:50 -05:00
Mike PenzandGitHub 6dc7444800 Merge pull request #997 from mikepenz/feature/category_rules
Introduce `Rule` for categorisations
2023-01-06 11:12:23 +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 d4ccbe1734 - expand README to include the new Rule options 2023-01-06 09:25:45 +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 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 e1556de4c5 Merge pull request #996 from mikepenz/feature/merge_configs
Add support for multi source configuration
2023-01-03 17:13:37 +01:00
Mike PenzandGitHub 96975870c4 - fix tests, require to call mergeConfiguration to apply defaults 2023-01-03 15:57: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 035f356b99 Merge pull request #995 from mikepenz/feature/readme_20230103
Enhance README details
2023-01-03 11:40:37 +01:00
Mike PenzandGitHub f9b1b7a023 - Enhance README details
- Related to https://github.com/mikepenz/release-changelog-builder-action/issues/989#issuecomment-1369592892
2023-01-03 10:34:33 +00:00
Mike PenzandGitHub 289e97d1fa Merge pull request #994 from mikepenz/feature/dependency_upgrades_20230103
Upgrade dev dependencies
2023-01-03 11:19:16 +01:00
Mike PenzandGitHub 333510f658 - upgrade dev dependencies
```
    "@types/jest": "^29.2.5",
    "@types/node": "^18.11.18",
    "@typescript-eslint/parser": "^5.48.0",
    "eslint": "^8.31.0",
    "eslint-plugin-jest": "^27.2.0",
```

Force override:

```
    "json5": "^2.2.3"
```
2023-01-03 09:53:46 +00:00
Mike PenzandGitHub d4b41f0c90 Merge pull request #961 from mikepenz/feature/retrieve_reviews
Support to include review comments in the target PR template
2022-12-09 16:03:39 +01: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 3e744d00f1 - update README 2022-12-09 13:30:31 +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 6846cd4c4f Merge pull request #974 from mikepenz/feature/dependency_updates_20221209
Update node dependencies
2022-12-09 14:02:53 +01:00
Mike PenzandGitHub 7c5ca75c6a - update dependencies
```
 @types/jest                 ^29.2.3  →    ^29.2.4
 @types/node                ^18.11.9  →  ^18.11.12
 @typescript-eslint/parser   ^5.44.0  →    ^5.46.0
 @vercel/ncc                 ^0.34.0  →    ^0.36.0
 eslint                      ^8.28.0  →    ^8.29.0
 eslint-plugin-github         ^4.4.1  →     ^4.6.0
 eslint-plugin-jest          ^27.1.5  →    ^27.1.6
 prettier                      2.8.0  →      2.8.1
 typescript                   ^4.9.3  →     ^4.9.4
 ```
2022-12-09 12:54:27 +00:00
Mike PenzandGitHub 5515e13be6 Merge pull request #973 from mikepenz/fix/965
Fix `undefined` for `match` regex
2022-12-09 13:53:46 +01: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 309a123e6e Merge pull request #972 from mxcl/patch-1
Use the default `github.token`
2022-12-08 20:59:24 +01:00
Max HowellandGitHub 994e6e1f47 Use the default github.token 2022-12-08 15:42:04 -04:00
Mike PenzandGitHub 6e238ad569 Update README.md
- be more explicit on outlining the outlined configuration in the README being an example, vs the defaults being specified in the `configuration.ts` file
2022-11-30 10:28:52 +01:00
Mike PenzandGitHub 699dc63f29 Merge pull request #960 from mikepenz/feature/dev_container
DevContainer support
2022-11-29 14:49:03 +01:00
Mike PenzandGitHub e8eefb51f8 - introduce a .devcontainer.json config with node 16 2022-11-29 13:35:54 +00:00
Mike PenzandGitHub 42ead20f22 Merge pull request #957 from mikepenz/feature/dependency_updates_20221124
Update to latest stable dependency releases
2022-11-24 09:39:01 +01: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 PenzandGitHub a6290d6ee0 Merge pull request #943 from mikepenz/feature/939
Introduce additional logs to identify PR filtering
2022-10-27 17:12:59 +02: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