mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-01-12 22:50:20 +08:00
[Repo Management] pr-labeler (#2109)
[Repo Management] pr-labeler (#2109) [skip ci]
This commit is contained in:
committed by
Mike Diarmid
parent
9e5b918fe3
commit
db6b7c2259
20
.github/labeler.json
vendored
Normal file
20
.github/labeler.json
vendored
Normal 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
18
.github/main.workflow
vendored
Normal 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"]
|
||||
}
|
||||
Reference in New Issue
Block a user