Skip to content

Commit

Permalink
readme: title for negate
Browse files Browse the repository at this point in the history
Signed-off-by: Galo Navarro <[email protected]>
  • Loading branch information
srvaroa committed Feb 20, 2023
1 parent 9fd2561 commit 1c0d614
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ labels:
The `WIP` label will be set if the title matches `^WIP:.*` OR the label
is not in a mergeable state.

### Negate rules

Adding a `negate` property inside the label block will negate the
result of the evaluation of all conditions inside the label. For
example:
Expand All @@ -165,7 +167,7 @@ example:
version: 1
labels:
- label: "unknown"
negate: true
negate: True
branch: "(master|hotfix)"
```

Expand All @@ -178,7 +180,7 @@ The same behaviour occurs with multiple conditions:
version: 1
labels:
- label: "unknown"
negate: true
negate: True
branch: "master"
title: "(feat).*"
```
Expand Down

0 comments on commit 1c0d614

Please sign in to comment.