Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0xSage committed Dec 1, 2023
1 parent 13a403f commit 347cb62
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/auto-label-conventional-commits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
steps:
- name: Label issues
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
gh issue edit "$NUMBER" --add-label "type: chore"
elif [[ $ISSUE_TITLE == feat* ]]; then
gh issue edit "$NUMBER" --add-label "type: feat"
gh issue edit ${{ github.event.number }} --add-label "type: chore"
elif [[ $ISSUE_TITLE == feat:* ]]; then
gh issue edit ${{ github.event.number }} --add-label "type: feat"
fi
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 347cb62

Please sign in to comment.