From 0a5cb774f5280bd4a85411018be7384a92b68680 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Thu, 18 Mar 2021 14:32:05 +0100 Subject: [PATCH] Add label sponsor --- .github/labels.yml | 4 ++++ .github/workflows/label-sponsor.yml | 21 +++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 .github/workflows/label-sponsor.yml diff --git a/.github/labels.yml b/.github/labels.yml index 1cf47a30..ac87246e 100644 --- a/.github/labels.yml +++ b/.github/labels.yml @@ -67,6 +67,10 @@ name: ":question: question" color: "3f51b5" description: "" +- # sponsor + name: ":sparkling_heart: sponsor" + color: "fedbf0" + description: "" - # stale name: ":skull: stale" color: "237da0" diff --git a/.github/workflows/label-sponsor.yml b/.github/workflows/label-sponsor.yml new file mode 100644 index 00000000..749b9a64 --- /dev/null +++ b/.github/workflows/label-sponsor.yml @@ -0,0 +1,21 @@ +name: label-sponsor + +on: + pull_request: + types: + - 'opened' + issues: + types: + - 'opened' + +jobs: + build: + runs-on: ubuntu-latest + steps: + - + name: Set sponsor label + uses: JasonEtco/is-sponsor-label-action@v1 + with: + label: ":sparkling_heart: sponsor" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}