From 737a9879f720016cc6953d8fcbfe155f2b3baf08 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sun, 21 Jun 2026 14:59:06 -0500 Subject: [PATCH] Add github workflow to label issues/prs authored by sponsor (#4120) --- .github/workflows/sponsor-labeler.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/sponsor-labeler.yml diff --git a/.github/workflows/sponsor-labeler.yml b/.github/workflows/sponsor-labeler.yml new file mode 100644 index 00000000..236fd5cd --- /dev/null +++ b/.github/workflows/sponsor-labeler.yml @@ -0,0 +1,23 @@ +name: Label Sponsor Contributions +on: + issues: + types: + - opened + pull_request_target: + types: + - opened + +jobs: + label-sponsor: + runs-on: ubuntu-latest + permissions: + pull-requests: write + issues: write + + steps: + - name: Check if sponsor + uses: JasonEtco/is-sponsor-label-action@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + label: sponsor