-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation updates #32
Conversation
README.md
Outdated
regex-labeler: | ||
matchers: | ||
- regex: "regex" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think this is a confusing example because the regular expression is "regex", which doesn't make much sense, a regular expression doesn't always have the string "regex" in it.
how about another example that's more obvious to understand:
regex-labeler: | |
matchers: | |
- regex: "regex" | |
numeric-labeler: | |
matchers: | |
- numeric: "[0-9]+" |
README.md
Outdated
weight: 10 | ||
``` | ||
|
||
In this example the action would apply to all new issues (as no `required_labels` are set). If the issue title and/or body contains the word "regex" it would be labeled as `regex-labeler` by default. But if the word `assignment` is matched, the label `ic-assignment` would be assigned instead (given the higher weight). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this example the action would apply to all new issues (as no `required_labels` are set). If the issue title and/or body contains the word "regex" it would be labeled as `regex-labeler` by default. But if the word `assignment` is matched, the label `ic-assignment` would be assigned instead (given the higher weight). | |
In this example the action would apply to all new issues (as no `required_labels` are set). If the issue title and/or body contains numbers it would be labeled as `numeric` by default. But if the word `assignment` is matched, the label `ic-assignment` would be assigned instead (given the higher weight). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, this is great, really useful!
Co-authored-by: Mauro Stettler <[email protected]>
No description provided.