Skip to content

Commit 97e1802

Browse files
Add 'CreatedBy' tag when creating resource group
1 parent da653ef commit 97e1802

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
@@ -105,7 +105,7 @@ jobs:
105105
rg_exists=$(az group exists --name ${{ env.RESOURCE_GROUP_NAME }})
106106
if [ "$rg_exists" = "false" ]; then
107107
echo "Resource group does not exist. Creating..."
108-
az group create --name ${{ env.RESOURCE_GROUP_NAME }} --location ${{ env.AZURE_LOCATION }} --tags SecurityControl=Ignore || { echo "Error creating resource group"; exit 1; }
108+
az group create --name ${{ env.RESOURCE_GROUP_NAME }} --location ${{ env.AZURE_LOCATION }} --tags SecurityControl=Ignore CreatedBy="Pipeline" || { echo "Error creating resource group"; exit 1; }
109109
else
110110
echo "Resource group already exists."
111111
fi

0 commit comments

Comments
 (0)