Add label sponsor

This commit is contained in:
CrazyMax 2021-03-18 19:02:39 +01:00
parent 5f29dbc7d7
commit e08ef4ca63
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
2 changed files with 32 additions and 3 deletions

14
.github/labels.yml vendored
View file

@ -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"

21
.github/workflows/label-sponsor.yml vendored Normal file
View file

@ -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 }}