ci(labeler): Support pull request and issue number
This commit is contained in:
parent
b750fcd209
commit
bb62a400f1
2
.github/workflows/labeler.yml
vendored
2
.github/workflows/labeler.yml
vendored
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user