Skip to content

Commit 1455350

Browse files
infra: update add-to-project workflow with all 22 solution mappings
1 parent 6b02773 commit 1455350

1 file changed

Lines changed: 38 additions & 8 deletions

File tree

.github/workflows/add-to-project.yml

Lines changed: 38 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,49 @@ jobs:
4242
LABELS='${{ toJson(github.event.issue.labels.*.name) }}'
4343
OPTION_ID=""
4444
if echo "$LABELS" | grep -q '"solution/sofs"'; then
45-
OPTION_ID="a33c6c71"
45+
OPTION_ID="441d7b73"
4646
elif echo "$LABELS" | grep -q '"solution/avd"'; then
47-
OPTION_ID="502138a1"
47+
OPTION_ID="88c2cad1"
4848
elif echo "$LABELS" | grep -q '"solution/loadtools"'; then
49-
OPTION_ID="822e566b"
49+
OPTION_ID="e681af20"
5050
elif echo "$LABELS" | grep -q '"solution/vmconvert"'; then
51-
OPTION_ID="4c6202b4"
51+
OPTION_ID="24cfc8b7"
5252
elif echo "$LABELS" | grep -q '"solution/docs-site"'; then
53-
OPTION_ID="21b55444"
53+
OPTION_ID="409662e1"
5454
elif echo "$LABELS" | grep -q '"solution/workspace"'; then
55-
OPTION_ID="4cec6642"
55+
OPTION_ID="65042935"
5656
elif echo "$LABELS" | grep -q '"solution/toolkit"'; then
57-
OPTION_ID="2bd203d9"
57+
OPTION_ID="5a5921eb"
58+
elif echo "$LABELS" | grep -q '"solution/aks"'; then
59+
OPTION_ID="b982b3f9"
60+
elif echo "$LABELS" | grep -q '"solution/sql-ha"'; then
61+
OPTION_ID="4b317a86"
62+
elif echo "$LABELS" | grep -q '"solution/iot"'; then
63+
OPTION_ID="a8348e7b"
64+
elif echo "$LABELS" | grep -q '"solution/vmware-migration"'; then
65+
OPTION_ID="38fc53af"
66+
elif echo "$LABELS" | grep -q '"solution/monitoring"'; then
67+
OPTION_ID="293a0462"
68+
elif echo "$LABELS" | grep -q '"solution/bcdr"'; then
69+
OPTION_ID="7b2cf8f7"
70+
elif echo "$LABELS" | grep -q '"solution/cost"'; then
71+
OPTION_ID="4b39412e"
72+
elif echo "$LABELS" | grep -q '"solution/governance"'; then
73+
OPTION_ID="2534a020"
74+
elif echo "$LABELS" | grep -q '"solution/hydration"'; then
75+
OPTION_ID="6aef96cb"
76+
elif echo "$LABELS" | grep -q '"solution/custom-images"'; then
77+
OPTION_ID="2d4dca21"
78+
elif echo "$LABELS" | grep -q '"solution/app-services"'; then
79+
OPTION_ID="9b88133a"
80+
elif echo "$LABELS" | grep -q '"solution/sql-mi"'; then
81+
OPTION_ID="7fce49ac"
82+
elif echo "$LABELS" | grep -q '"solution/ml-ai"'; then
83+
OPTION_ID="23c5f7a9"
84+
elif echo "$LABELS" | grep -q '"solution/vms"'; then
85+
OPTION_ID="61b679bd"
86+
elif echo "$LABELS" | grep -q '"solution/disconnected"'; then
87+
OPTION_ID="5633c889"
5888
fi
5989
if [ -n "$OPTION_ID" ]; then
6090
gh project item-edit --project-id "$PROJECT_ID" --id "$ITEM_ID" \
@@ -103,4 +133,4 @@ jobs:
103133
if [ -n "$OPTION_ID" ]; then
104134
gh project item-edit --project-id "$PROJECT_ID" --id "$ITEM_ID" \
105135
--field-id "$CATEGORY_FIELD" --single-select-option-id "$OPTION_ID"
106-
fi
136+
fi

0 commit comments

Comments
 (0)