From a447e8bae23e9a0247df202686be7bc1d46e7b9a Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Thu, 22 Jul 2021 11:39:00 +0100 Subject: [PATCH] Automatically label new issues with `triage`. --- .github/workflows/label-issue.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/label-issue.yml diff --git a/.github/workflows/label-issue.yml b/.github/workflows/label-issue.yml new file mode 100644 index 0000000..ecc6501 --- /dev/null +++ b/.github/workflows/label-issue.yml @@ -0,0 +1,22 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +name: Label issues +on: + issues: + types: + - reopened + - opened +jobs: + label_issues: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - name: Label issues + uses: andymckay/labeler@5c59dabdfd4dd5bd9c6e6d255b01b9d764af4414 + with: + add-labels: "triage" + repo-token: ${{ secrets.GITHUB_TOKEN }} -- GitLab