Skip to content

Commit

Permalink
Merge pull request #477 from linear-b/ignor_repo_regex
Browse files Browse the repository at this point in the history
add regex to ignore repos
  • Loading branch information
PavelLinearB committed Mar 28, 2024
2 parents 02c9cc4 + e33da2d commit f8371a1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -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`
Expand All @@ -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
- gitStream Playground official release
8 changes: 4 additions & 4 deletions docs/cm-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]<br />[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 |


Expand Down Expand Up @@ -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`

Expand Down

0 comments on commit f8371a1

Please sign in to comment.