ci(labeler): Support area/storage label

This commit is contained in:
TwiN 2025-03-06 21:10:03 -05:00 committed by GitHub
parent 11292b5f1e
commit 467e811fd5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,9 +26,12 @@ jobs:
elif [[ $TITLE == *"fix:"* || $TITLE == *"fix("* ]]; then
gh issue edit "$NUMBER" --add-label "bug"
fi
if [[ $TITLE == *"alerting"* || $TITLE == *"provider"* || $TITLE == *"alert"* || $BODY == *"alerting"* || $BODY == *"provider"* || $BODY == *"alert"* ]]; then
if [[ $TITLE == *"alerting"* || $TITLE == *"provider"* || $TITLE == *"alert"* ]]; then
gh issue edit "$NUMBER" --add-label "area/alerting"
fi
if [[ $TITLE == *"storage"* || $TITLE == *"postgres"* || $TITLE == *"sqlite"* ]]; then
gh issue edit "$NUMBER" --add-label "area/storage"
fi
if [[ $TITLE == *"security"* || $TITLE == *"oidc"* || $TITLE == *"oauth2"* || $BODY == *"security"* || $BODY == *"oidc"* || $BODY == *"oauth2"* ]]; then
gh issue edit "$NUMBER" --add-label "area/security"
fi