From 94fe4261038c936edd33a94c5cc0b761d2adfe7f Mon Sep 17 00:00:00 2001 From: Zhang Jian Date: Fri, 6 Mar 2020 22:48:57 +0800 Subject: [PATCH] .github: add labeler action (#15189) --- .github/CODEOWNERS | 3 ++- .github/labeler.yml | 28 ++++++++++++++++++++++++++++ .github/workflows/labeler.yml | 11 +++++++++++ 3 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/labeler.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ce41d59f0a9db..01298cfaddafc 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -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 diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000000000..ce7c62657b230 --- /dev/null +++ b/.github/labeler.yml @@ -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 diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000000000..dcafb97dc984a --- /dev/null +++ b/.github/workflows/labeler.yml @@ -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 }}"