Skip to content

Commit 737a987

Browse files
authored
Add github workflow to label issues/prs authored by sponsor (#4120)
1 parent 8b5f7ed commit 737a987

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Label Sponsor Contributions
2+
on:
3+
issues:
4+
types:
5+
- opened
6+
pull_request_target:
7+
types:
8+
- opened
9+
10+
jobs:
11+
label-sponsor:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
pull-requests: write
15+
issues: write
16+
17+
steps:
18+
- name: Check if sponsor
19+
uses: JasonEtco/is-sponsor-label-action@v1
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
with:
23+
label: sponsor

0 commit comments

Comments
 (0)