mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-24 22:39:22 +01:00
Add label sponsor
This commit is contained in:
4
.github/labels.yml
vendored
4
.github/labels.yml
vendored
@@ -67,6 +67,10 @@
|
||||
name: ":question: question"
|
||||
color: "3f51b5"
|
||||
description: ""
|
||||
- # sponsor
|
||||
name: ":sparkling_heart: sponsor"
|
||||
color: "fedbf0"
|
||||
description: ""
|
||||
- # stale
|
||||
name: ":skull: stale"
|
||||
color: "237da0"
|
||||
|
||||
21
.github/workflows/label-sponsor.yml
vendored
Normal file
21
.github/workflows/label-sponsor.yml
vendored
Normal 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 }}
|
||||
Reference in New Issue
Block a user