Fix auto-labeling (#1017)

* labeler changes

* test labeler

* change rules

* Only add documentation label for non-README md files

* Revert "test labeler"

This reverts commit d26249886293064ea45f6ab39c30924749d39e79.

Co-authored-by: Julio Castillo <jccb@google.com>
This commit is contained in:
Ludovico Magnocavallo 2022-11-28 15:00:31 +01:00 committed by GitHub
parent e39ae69fd5
commit cce25f4406
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 5 deletions

31
.github/labeler.yml vendored
View File

@ -13,11 +13,32 @@
# limitations under the License.
'on:blueprints':
- blueprints/**/*
- any:
- 'blueprints/**'
- '!**/*.md'
'on:documentation':
- any:
- '**/*.md'
- '!**/README.md'
- 'README.md'
- 'blueprints/README.md'
- 'blueprints/*/README.md'
- 'modules/README.md'
- 'fast/README.md'
- 'fast/stages/README.md'
'on:FAST':
- fast/**/*
- any:
- 'fast/**'
- '!**/*.md'
'on:modules':
- modules/**/*
- any:
- 'modules/**'
- '!**/*.md'
'on:tools':
- tools/**/*
- .github/**/*
- 'tools/**'
- '.github/**'