diff --git a/docs/changelog.md b/docs/changelog.md index c012cc52..c40c8f3f 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,7 +1,8 @@ # /:\\ gitStream Changelog All notable changes to this project will be documented in this file. - +### 2024.3.28 +- Supporting regular expressions in `config.ignore_repositories` ### 2024.3.14 - Added the following explicit triggers: - `pr_ready_for_review` @@ -12,4 +13,4 @@ All notable changes to this project will be documented in this file. - Triggering on comment edits - Added support for `request-changes` action in GitLab ### 2023.11.22 -- gitStream Playground official release \ No newline at end of file +- gitStream Playground official release diff --git a/docs/cm-file.md b/docs/cm-file.md index 789495c4..a895a4e4 100644 --- a/docs/cm-file.md +++ b/docs/cm-file.md @@ -117,7 +117,7 @@ The `config` section is optional in the `.cm` file and is used to specify config | `config` | Map | - | per `.cm` file | The config section, applies for the automations defined in the current file | | `config.admin.users` | [String] | `[]` | `gitstream.cm` | Admin user list (use the Git provider user names) | | `config.ignore_files` | [String] | `[]` | per `.cm` file | Exclude specific files | -| `config.ignore_repositories` | [String] | `[]` | per `.cm` file | Exclude specific repositories | +| `config.ignore_repositories` | [String]
[regex] | `[]` | per `.cm` file | Exclude specific repositories | | `config.user_mapping` | [String: String] | `[]` | per `.cm` file | Key value list of Git user detailes and Git provider account names | @@ -152,16 +152,16 @@ config: ##### `config.ignore_repositories` -The `config.ignore_repositories` contains a list of repositories to ignore, for example: +The `config.ignore_repositories` contains a list of repositories to ignore by their names, or by a regular expression, for example: ```yaml title="example" config: ignore_repositories: - - services + - r/_service$/ - common ``` -For the listed repositories, the automation defined in the CM file shall not apply. +For the repository `common` and all repositories with the `_service` suffix, the automation defined in the CM file shall not apply. ##### `config.user_mapping`