mirror of
https://github.com/TwiN/gatus.git
synced 2025-06-21 10:18:23 +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 }}
|
GH_REPO: ${{ github.repository }}
|
||||||
NUMBER: ${{ github.event.issue.number }}${{ github.event.pull_request.number }}
|
NUMBER: ${{ github.event.issue.number }}${{ github.event.pull_request.number }}
|
||||||
run: |
|
run: |
|
||||||
if [[ $TITLE == *"feat:"* || $TITLE == *"feat("* ]]; then
|
if [[ $TITLE == "feat"* ]]; then
|
||||||
gh issue edit "$NUMBER" --add-label "feature"
|
gh issue edit "$NUMBER" --add-label "feature"
|
||||||
elif [[ $TITLE == *"fix:"* || $TITLE == *"fix("* ]]; then
|
elif [[ $TITLE == "fix"* ]]; then
|
||||||
gh issue edit "$NUMBER" --add-label "bug"
|
gh issue edit "$NUMBER" --add-label "bug"
|
||||||
fi
|
fi
|
||||||
if [[ $TITLE == *"alerting"* || $TITLE == *"provider"* || $TITLE == *"alert"* ]]; then
|
if [[ $TITLE == *"alerting"* || $TITLE == *"provider"* || $TITLE == *"alert"* ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user