-
Notifications
You must be signed in to change notification settings - Fork 448
Open
Labels
feature requestNew feature or request to improve the current logicNew feature or request to improve the current logic
Description
Description:
Setting the label according to the branch name -
For example, my branch name is -> release/v0/v0.0.1
My desired label is -> v0.0.1
currently I am using my own action with a condition like this ->
if [[ "$TARGET_BRANCH" =~ ^release/v[0-9]+/v[0-9]+\.[0-9]+\.[0-9]+$ ]];
and then I assigned the label like this ->
LABEL_NAME=$(echo "$TARGET_BRANCH" | cut -d'/' -f 3)
Metadata
Metadata
Assignees
Labels
feature requestNew feature or request to improve the current logicNew feature or request to improve the current logic