[Repo Management] pr-labeler (#2109)

[Repo Management] pr-labeler (#2109)

[skip ci]
This commit is contained in:
Ilja Daderko
2019-05-06 18:53:30 +03:00
committed by Mike Diarmid
parent 9e5b918fe3
commit db6b7c2259
2 changed files with 38 additions and 0 deletions

20
.github/labeler.json vendored Normal file
View File

@@ -0,0 +1,20 @@
{
"Service: AdMob": "packages/admob/*",
"Service: Analytics": "packages/analytics/*",
"Service: App/Core": "packages/app/*",
"Service: Authentication": "packages/auth/*",
"Service: Crashlytics": "packages/crashlytics/*",
"Service: Database": "packages/database/*",
"Service: Firestore": "packages/firestore/*",
"Service: Functions": "packages/functions/*",
"Service: Invites": "packages/invites/*",
"Service: Links": "packages/links/*",
"Service: Messaging": "packages/messaging/*",
"Service: Perf": "packages/perf/*",
"Service: Remote Config": "packages/config/*",
"Service: Storage": "packages/storage/*",
"Service: MLKit": "packages/mlkit/*",
"Platform: Android": "packages/**/android/*",
"Platform: iOS": "packages/**/ios/*",
"Platform: JavaScript": "packages/**/lib/*"
}

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

@@ -0,0 +1,18 @@
workflow "Label PR" {
on = "pull_request"
resolves = "Labeler"
}
action "Synchronize or Opened" {
uses = "actions/bin/filter@master"
args = "action 'opened|synchronize'"
}
action "Labeler" {
uses = "Asimetriq/github-actions/action-labeler@master"
needs = "Synchronize or Opened"
env = {
LABEL_SPEC_FILE=".github/labeler.json"
}
secrets = ["GITHUB_TOKEN"]
}