Skip to content

Commit

Permalink
Clarify how autolabeler matcher configurations work (#806)
Browse files Browse the repository at this point in the history
Co-authored-by: Basil Crow <me@basilcrow.com>
Co-authored-by: Joseph Petersen <josephp90@gmail.com>
  • Loading branch information
3 people committed Mar 8, 2021
1 parent 30279d4 commit 04a9187
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -234,7 +234,8 @@ Pull requests with the label "feature" or "fix" will now be grouped together:

<img src="design/screenshot-2.png" alt="Screenshot of generated draft release with categories" width="586" />

Adding such labels to your PRs can be automated by using [PR Labeler](https://github.com/TimonVS/pr-labeler-action) or [Probot Auto Labeler](https://github.com/probot/autolabeler).
Adding such labels to your PRs can be automated by using the embedded Autolabeler functionality (see below),
[PR Labeler](https://github.com/TimonVS/pr-labeler-action) or [Probot Auto Labeler](https://github.com/probot/autolabeler).

## Exclude Pull Requests

Expand Down Expand Up @@ -273,6 +274,7 @@ replacers:
## Autolabeler

You can add automatically a label into a pull request, with the `autolabeler` option. Available matchers are `files` (glob), `branch` (regex), `title` (regex) and `body` (regex).
Matchers are evaluated independently; the label will be set if at least one of the matchers meets the criteria.

```yml
autolabeler:
Expand Down

0 comments on commit 04a9187

Please sign in to comment.