From bb62a400f17dab4c6d0b1d66577f6437fd5a1856 Mon Sep 17 00:00:00 2001 From: TwiN Date: Sun, 2 Mar 2025 20:10:47 -0500 Subject: [PATCH] ci(labeler): Support pull request and issue number --- .github/workflows/labeler.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 716524cc..a6b41344 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -19,7 +19,7 @@ jobs: BODY: ${{ github.event.issue.body }}${{ github.event.pull_request.body }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_REPO: ${{ github.repository }} - NUMBER: ${{ github.event.issue.number }} + NUMBER: ${{ github.event.issue.number }}${{ github.event.pull_request.number }} run: | if [[ $TITLE == *"feat:"* || $TITLE == *"feat("* ]]; then gh issue edit "$NUMBER" --add-label "feature"