mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-01-12 22:50:20 +08:00
19 lines
381 B
HCL
19 lines
381 B
HCL
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"]
|
|
}
|