-
-
Notifications
You must be signed in to change notification settings - Fork 8
30 lines (26 loc) 路 858 Bytes
/
Copy pathlabel-sponsors.yaml
File metadata and controls
30 lines (26 loc) 路 858 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
name: Label sponsors
"on":
workflow_call:
pull_request:
types:
- opened
issues:
types:
- opened
concurrency:
# Group workflow jobs so new commits cancels in-progress execution triggered by previous commits. Source:
# https://mail.python.org/archives/list/pypa-committers@python.org/thread/PCBCQMJF64JGRBOX7E2EE4YLKHT4DI55/
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
label-sponsors:
name: Tag sponsors
runs-on: ubuntu-24.04
steps:
- uses: JasonEtco/is-sponsor-label-action@v2.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
label: 馃挅 sponsors