Skip to content

Commit

Permalink
Add label sponsor
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed Mar 18, 2021
1 parent 02c4828 commit 47ae61f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@
name: ":question: question"
color: "3f51b5"
description: ""
- # sponsor
name: ":sparkling_heart: sponsor"
color: "fedbf0"
description: ""
- # stale
name: ":skull: stale"
color: "237da0"
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 47ae61f

Please sign in to comment.