From fce6208c003f39101f6967c1cd75599398f8758b Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Wed, 19 Aug 2026 12:18:47 +0800 Subject: [PATCH] Add support for labeled pull requests Added handling for labeled pull requests in the workflow. --- .github/workflows/pr-template.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pr-template.yml b/.github/workflows/pr-template.yml index b6d2eedb34..f314e3f18c 100644 --- a/.github/workflows/pr-template.yml +++ b/.github/workflows/pr-template.yml @@ -6,6 +6,7 @@ on: - opened - edited - synchronize + - labeled permissions: contents: read @@ -28,6 +29,7 @@ jobs: PR_BODY: ${{ github.event.pull_request.body }} PR_AUTHOR: ${{ github.event.pull_request.user.login }} PR_AUTHOR_ID: ${{ github.event.pull_request.user.id }} + PR_LABELS: ${{ toJSON(github.event.pull_request.labels.*.name) }} run: node util/check-pr-template.cjs - name: Handle incomplete PR