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 }}"