Skip to content

Commit

Permalink
Add label sponsor
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyMax committed Mar 18, 2021
1 parent 5f29dbc commit e08ef4c
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/label-sponsor.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit e08ef4c

Please sign in to comment.