mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-06-23 10:34:17 +00:00
Improved and refactored sponsor labeler workflow (#4123)
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
name: Label Sponsor Contributions
|
name: Sponsor Labeler
|
||||||
|
|
||||||
on:
|
on:
|
||||||
issues:
|
issues:
|
||||||
types:
|
types:
|
||||||
@@ -9,15 +10,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
label-sponsor:
|
label-sponsor:
|
||||||
runs-on: ubuntu-latest
|
uses: itzg/github-workflows/.github/workflows/sponsor-labeler.yml@main
|
||||||
permissions:
|
with:
|
||||||
pull-requests: write
|
author: ${{ github.event.issue.user.login || github.event.pull_request.user.login }}
|
||||||
issues: write
|
number: ${{ github.event.issue.number || github.event.pull_request.number }}
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Check if sponsor
|
|
||||||
uses: JasonEtco/is-sponsor-label-action@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
with:
|
|
||||||
label: sponsor
|
|
||||||
Reference in New Issue
Block a user