Skip to content

Conversation

@NirajC-Microsoft
Copy link
Contributor

@NirajC-Microsoft NirajC-Microsoft commented Sep 5, 2025

Purpose

This pull request introduces a small but important improvement to how resource tags are set during deployment. The main change is to make the "CreatedBy" tag more flexible and allow it to be set via a parameter, rather than always deriving it from the deployer’s principal name.

Tagging improvements:

  • Added a new createdBy parameter to infra/main.bicep, allowing the "CreatedBy" tag to be explicitly set or default to the deployer's username if not provided.
  • Updated the deployment workflow in .github/workflows/deploy.yml to pass a createdBy="Pipeline" value when running deployments, ensuring resources created by the pipeline are tagged accordingly.
  • ...

Does this introduce a breaking change?

  • Yes
  • No

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

…ent validation pipeline failures caused by the deployer function in the Bicep file.
@Roopan-Microsoft Roopan-Microsoft merged commit 952ac52 into dev Sep 5, 2025
8 checks passed
@Roopan-Microsoft Roopan-Microsoft deleted the psl-addcreatedbyparaminyml branch September 5, 2025 11:40
@github-actions
Copy link

🎉 This PR is included in version 2.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants