Skip to content

Commit

Permalink
.github: add labeler action (#15189)
Browse files Browse the repository at this point in the history
  • Loading branch information
zz-jason authored Mar 6, 2020
1 parent 14d9cb2 commit 94fe426
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/distsql @pingcap/co-exec
/executor @pingcap/co-exec
/exec @pingcap/co-exec
/expression @pingcap/co-exec
/types @pingcap/co-exec
/util/chunk @pingcap/co-exec
/util/disk @pingcap/co-exec
/util/execdetails @pingcap/co-exec
Expand Down
28 changes: 28 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
component/executor:
- distsql
- executor
- util/chunk
- util/disk
- util/execdetails
- util/expensivequery
- util/filesort
- util/memory
- util/sqlexec

component/expression:
- expression
- types

component/planner:
- planner
- bindinfo
- util/ranger
- util/plancodec

component/statistics:
- statistics

component/DDL:
- ddl
- infoschema
- meta
11 changes: 11 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: "Pull Request Labeler"
on:
- pull_request

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

0 comments on commit 94fe426

Please sign in to comment.