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