Skip to content

Commit 049af6f

Browse files
Merge pull request #257 from microsoft/dev
chore: Dev to Main changes merge
2 parents f457e56 + 1a5e29b commit 049af6f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ jobs:
150150
gptModelVersion="2024-08-06" \
151151
gptDeploymentCapacity="30" \
152152
aiDeploymentsLocation="${{ env.AZURE_LOCATION }}" \
153+
createdBy="Pipeline" \
153154
--query "properties.outputs" -o json); then
154155
echo "❌ Deployment failed. See logs above."
155156
exit 1

infra/main.bicep

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,12 +418,15 @@ module applicationInsights 'br/public:avm/res/insights/component:0.6.0' = {
418418
}
419419
}
420420

421+
@description('Optional created by user name')
422+
param createdBy string = empty(deployer().userPrincipalName) ? '' : split(deployer().userPrincipalName, '@')[0]
421423
// ========== Resource Group Tag ========== //
422424
resource resourceGroupTags 'Microsoft.Resources/tags@2021-04-01' = {
423425
name: 'default'
424426
properties: {
425427
tags: {
426428
TemplateName: 'Content Processing'
429+
CreatedBy: createdBy
427430
}
428431
}
429432
}

0 commit comments

Comments
 (0)