From 79a5a08dc24c6ecc059669520427de3282a2a443 Mon Sep 17 00:00:00 2001 From: Eric Cornelissen Date: Thu, 15 Oct 2020 15:10:07 +0300 Subject: [PATCH] Set up automated labeling (#3724) --- .github/labeler.yml | 6 ++++++ .github/workflows/labeler.yml | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000..2359be4e2 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,6 @@ +new icon: +- any: [icons/*.svg] + status: 'added' +icon outdated: +- any: [icons/*.svg] + status: 'modified' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 000000000..261131fe5 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,11 @@ +name: "Pull Request Labeler" +on: + pull_request_target: + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: ericcornelissen/labeler@label-based-on-status + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}"