Skip to content

Commit

Permalink
github: add labeler (pingcap#112)
Browse files Browse the repository at this point in the history
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
  • Loading branch information
Rustin170506 committed Feb 18, 2021
1 parent b16d972 commit 889ddce
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
sig/coprocessor:
- any: [ "sig/coprocessor/*","!sig/coprocessor/membership.json" ]

sig/engine:
- any: [ "sig/engine/*","!sig/engine/membership.json" ]

sig/raft:
- any: [ "sig/raft/*","!sig/raft/membership.json" ]

sig/scheduling:
- any: [ "sig/scheduling/*","!sig/scheduling/membership.json" ]

sig/transaction:
- any: [ "sig/transaction/*","!sig/transaction/membership.json" ]
12 changes: 12 additions & 0 deletions .github/workflows/ labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@main
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true

0 comments on commit 889ddce

Please sign in to comment.