- add new ability to filter out tags based on a regex

- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/566
This commit is contained in:
Mike Penz
2021-11-05 08:52:21 +01:00
parent 431f48dd0f
commit ed954db1f6
6 changed files with 89 additions and 9 deletions
+7 -2
View File
@@ -204,7 +204,11 @@ This configuration is a `.json` file in the following format.
"Owner/qa"
],
"tag_resolver": {
"method": "semver"
"method": "semver",
"filter": {
"pattern": "api-(.+)",
"flags": "gu"
}
},
"base_branches": [
"dev"
@@ -324,7 +328,8 @@ Table of descriptions for the `configuration.json` options to configure the resu
| exclude_merge_branches | An array of branches to be ignored from processing as merge commits |
| tag_resolver | Section to provide configuration for the tag resolving logic. Used if no `fromTag` is provided |
| tag_resolver.method | Defines the method to use. Current options are: `semver`, `sort`. Default: `semver` |
| base_branches | The target branches for the merged PR, ingnores PRs with different target branch. Values can be a `regex`. Default: allow all base branches
| tag_resolver.filter | Defines a regex which is used to filter out tags not matching. |
| base_branches | The target branches for the merged PR, ingnores PRs with different target branch. Values can be a `regex`. Default: allow all base branches |
## Contribute 🧬