Skip to content

Commit

Permalink
README: regex syntax (#109)
Browse files Browse the repository at this point in the history
Signed-off-by: Galo Navarro <anglorvaroa@gmail.com>
  • Loading branch information
srvaroa committed Nov 11, 2023
1 parent 3a46a2c commit 7e2c32e
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,11 +294,16 @@ With this config, the behaviour changes:
## Conditions

Below are the conditions currently supported in label matchers, in
alphabetical order. Note that some conditions are only applicable to
pull requests.

All conditions evaluate only when they are explicitly added in
configuration (that is, there are no default values).
alphabetical order. Some important considerations:

* Conditions evaluate only when they are explicitly added in
configuration. There are no defaults.
* Some conditions are only applicable to pull requests.
* All conditions based on regex rely on [Go's `regexp`
package](https://pkg.go.dev/regexp), which accepts the syntax accepted
by RE2 and described at [](https://golang.org/s/re2syntax). You can
use tools like [](https://regex101.com/?flavor=golang) to verify your
conditions.

### Author can merge (PRs) <a name="author-can-merge" />

Expand Down

0 comments on commit 7e2c32e

Please sign in to comment.