Skip to content

Commit cd02b5b

Browse files
fix: Add 'CreatedBy' tag when creating resource group (#1922)
1 parent 4a2a12e commit cd02b5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
rg_exists=$(az group exists --name ${{ env.RESOURCE_GROUP_NAME }})
111111
if [ "$rg_exists" = "false" ]; then
112112
echo "Resource group does not exist. Creating..."
113-
az group create --name ${{ env.RESOURCE_GROUP_NAME }} --location ${{ env.AZURE_LOCATION }} --tags SecurityControl=Ignore || { echo "Error creating resource group"; exit 1; }
113+
az group create --name ${{ env.RESOURCE_GROUP_NAME }} --location ${{ env.AZURE_LOCATION }} --tags SecurityControl=Ignore CreatedBy="Pipeline" || { echo "Error creating resource group"; exit 1; }
114114
else
115115
echo "Resource group already exists."
116116
fi

0 commit comments

Comments
 (0)