From f09f5da500a3472cde35a4e26eff42f6726c9018 Mon Sep 17 00:00:00 2001 From: Abhinav Kaushlya Date: Tue, 3 Dec 2019 00:03:04 +0530 Subject: [PATCH] Add pull request labeler This adds a pull request labeler using [Github Actions](https://github.com/actions/labeler). --- .github/labeler.yml | 6 ++++++ .github/workflows/label.yml | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/label.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 00000000..8a5e56b2 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,6 @@ +documentation: +- "docs/**/*" +CI: +- "**/*.yml" +testing: +- test/* diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 00000000..7f7881ee --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,11 @@ +name: "Labeler" +on: +- pull_request + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v2 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}"