From e08ef4ca63d830004feded702e36605951b4c9b2 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Thu, 18 Mar 2021 19:02:39 +0100 Subject: [PATCH] Add label sponsor --- .github/labels.yml | 14 +++++++++++--- .github/workflows/label-sponsor.yml | 21 +++++++++++++++++++++ 2 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/label-sponsor.yml diff --git a/.github/labels.yml b/.github/labels.yml index e4dea63..ac87246 100644 --- a/.github/labels.yml +++ b/.github/labels.yml @@ -51,9 +51,9 @@ name: ":no_entry_sign: invalid" color: "e6e6e6" description: "" -- # maybe bug - name: ":interrobang: maybe bug" - color: "ff5722" +- # investigate + name: ":mag: investigate" + color: "e6625b" description: "" - # needs more info name: ":thinking: needs more info" @@ -67,6 +67,14 @@ name: ":question: question" color: "3f51b5" description: "" +- # sponsor + name: ":sparkling_heart: sponsor" + color: "fedbf0" + description: "" +- # stale + name: ":skull: stale" + color: "237da0" + description: "" - # upstream name: ":eyes: upstream" color: "fbca04" diff --git a/.github/workflows/label-sponsor.yml b/.github/workflows/label-sponsor.yml new file mode 100644 index 0000000..749b9a6 --- /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 }}