diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 00000000000..1019adfaa23 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,17 @@ +type:Compiler: + title: "^COMP:.*" + +type:Bug: + title: "^BUG:.*" + +area:Documentation: + title: "^DOC:.*" + +type:Enhancement: + title: "^ENH:.*" + +type:Performance: + title: "^PERF:.*" + +type:Style: + title: "^STYLE:.*" diff --git a/.github/workflows/label-pr.yml b/.github/workflows/label-pr.yml new file mode 100644 index 00000000000..dc355fa24b9 --- /dev/null +++ b/.github/workflows/label-pr.yml @@ -0,0 +1,13 @@ +name: Label PRs + +on: + - pull_request + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: srvaroa/labeler@master + env: + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"