[experimental] auto-mark documentation PRs with labels

This commit is contained in:
Ivan Blinkov 2019-08-19 14:09:21 +03:00
parent 2ca98c1ee0
commit 0d4f3d8cc7
2 changed files with 11 additions and 0 deletions

2
.github/label-pr.yml vendored Normal file
View File

@ -0,0 +1,2 @@
- regExp: ".*\\.md$"
labels: ["documentation", "pr-documentation"]

9
.github/main.workflow vendored Normal file
View File

@ -0,0 +1,9 @@
workflow "Main workflow" {
resolves = ["Label PR"]
on = "pull_request"
}
action "Label PR" {
uses = "decathlon/pull-request-labeler-action@v1.0.0"
secrets = ["GITHUB_TOKEN"]
}