From 42f947d9d0c0004f42ed93afc5108e17fc866e89 Mon Sep 17 00:00:00 2001 From: Craig Gumbley Date: Thu, 29 Sep 2022 20:34:52 +0100 Subject: [PATCH] (MAINT) Add community labeller This PR introduces the community labeller action. It's purpose is to appropriately label community issues and PRs. --- .github/workflows/labeller.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/labeller.yml diff --git a/.github/workflows/labeller.yml b/.github/workflows/labeller.yml new file mode 100644 index 000000000..5434d3fff --- /dev/null +++ b/.github/workflows/labeller.yml @@ -0,0 +1,22 @@ +name: community-labeller + +on: + issues: + types: + - opened + pull_request_target: + types: + - opened + +jobs: + label: + runs-on: ubuntu-latest + steps: + + - uses: puppetlabs/community-labeller@v0 + name: Label issues or pull requests + with: + label_name: community + label_color: '5319e7' + org_membership: puppetlabs + token: ${{ secrets.IAC_COMMUNITY_LABELER }}