From 9c5e624bb61ff186e3554991e53d7506f9ac3c7f Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Mon, 20 Sep 2021 15:02:10 +1000 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Add=20pull=20request=20labelling?= =?UTF-8?q?=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/labeller.yml | 5 +++++ .github/workflows/label.yml | 17 +++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 .github/labeller.yml create mode 100644 .github/workflows/label.yml diff --git a/.github/labeller.yml b/.github/labeller.yml new file mode 100644 index 00000000..4287b874 --- /dev/null +++ b/.github/labeller.yml @@ -0,0 +1,5 @@ +i18n: + - i18n/* + +documentation: + - exampleSite/content/* diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 00000000..a1c9cdea --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,17 @@ +name: Labeller + +on: [pull_request] + +jobs: + label: + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + + steps: + - name: Label + uses: actions/labeler@v2 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + configuration-path: .github/labeller.yml