mirror of
https://github.com/actions/labeler.git
synced 2025-12-10 19:50:54 +00:00
Merge branch 'main' into main
This commit is contained in:
19
README.md
19
README.md
@@ -1,11 +1,11 @@
|
||||
# Pull Request Labeler
|
||||
|
||||
<p align="left">
|
||||
<a href="https://github.com/actions/labeler/actions?query=workflow%3A%22Build+%26+Test%22++">
|
||||
<img alt="build and test status" src="https://github.com/actions/labeler/actions/workflows/build_test.yml/badge.svg">
|
||||
<a href="https://github.com/actions/labeler/actions/workflows/basic-validation.yml">
|
||||
<img alt="basic validation status" src="https://github.com/actions/labeler/actions/workflows/basic-validation.yml/badge.svg">
|
||||
</a>
|
||||
<a href="https://david-dm.org/actions/labeler">
|
||||
<img alt="dependencies" src="https://status.david-dm.org/gh/actions/labeler.svg">
|
||||
<a href="https://libraries.io/github/actions/labeler">
|
||||
<img alt="dependencies" src="https://img.shields.io/librariesio/github/actions/labeler">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
@@ -59,9 +59,14 @@ label1:
|
||||
# Add 'label2' to any file changes within 'example2' folder
|
||||
label2: example2/*
|
||||
|
||||
# Add 'label3' to any PR where the branch name starts with 'example3'
|
||||
# Add label3 to any change to .txt files within the entire repository. Quotation marks are required for the leading asterisk
|
||||
label3:
|
||||
- branch: 'example3/**'
|
||||
- '**/*.txt'
|
||||
|
||||
|
||||
# Add 'label4' to any PR where the branch name starts with 'example4'
|
||||
label4:
|
||||
- branch: 'example4/**'
|
||||
```
|
||||
|
||||
#### Common Examples
|
||||
@@ -72,7 +77,7 @@ repo:
|
||||
- '*'
|
||||
|
||||
# Add '@domain/core' label to any change within the 'core' package
|
||||
@domain/core:
|
||||
'@domain/core':
|
||||
- package/core/*
|
||||
- package/core/**/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user