mirror of
https://github.com/TwiN/gatus.git
synced 2025-06-21 18:21:47 +02:00
ci: Fix feat
and fix
pull request title detection
This commit is contained in:
parent
216dffa1a6
commit
35a3238bc9
4
.github/workflows/labeler.yml
vendored
4
.github/workflows/labeler.yml
vendored
@ -22,9 +22,9 @@ jobs:
|
||||
GH_REPO: ${{ github.repository }}
|
||||
NUMBER: ${{ github.event.issue.number }}${{ github.event.pull_request.number }}
|
||||
run: |
|
||||
if [[ $TITLE == *"feat:"* || $TITLE == *"feat("* ]]; then
|
||||
if [[ $TITLE == "feat"* ]]; then
|
||||
gh issue edit "$NUMBER" --add-label "feature"
|
||||
elif [[ $TITLE == *"fix:"* || $TITLE == *"fix("* ]]; then
|
||||
elif [[ $TITLE == "fix"* ]]; then
|
||||
gh issue edit "$NUMBER" --add-label "bug"
|
||||
fi
|
||||
if [[ $TITLE == *"alerting"* || $TITLE == *"provider"* || $TITLE == *"alert"* ]]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user