fix
This commit is contained in:
parent
13a403f3ec
commit
347cb62b63
@ -17,11 +17,11 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Label issues
|
- name: Label issues
|
||||||
run: |
|
run: |
|
||||||
ISSUE_TITLE=$(gh issue view "$NUMBER" --json title -q ".title")
|
ISSUE_TITLE=$(gh issue view ${{ github.event.number }} --json title -q ".title")
|
||||||
if [[ $ISSUE_TITLE == chore:* ]]; then
|
if [[ $ISSUE_TITLE == chore:* ]]; then
|
||||||
gh issue edit "$NUMBER" --add-label "type: chore"
|
gh issue edit ${{ github.event.number }} --add-label "type: chore"
|
||||||
elif [[ $ISSUE_TITLE == feat* ]]; then
|
elif [[ $ISSUE_TITLE == feat:* ]]; then
|
||||||
gh issue edit "$NUMBER" --add-label "type: feat"
|
gh issue edit ${{ github.event.number }} --add-label "type: feat"
|
||||||
fi
|
fi
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user