Skip to content

fix: Adding a hardcoded createdBy parameter to the deploy.yml file to prevent validation pipeline failures caused by the deployer function in the Bicep file.#258

Merged
Roopan-Microsoft merged 1 commit intodevfrom
psl-cpConditionDeployer
Sep 5, 2025
Merged

fix: Adding a hardcoded createdBy parameter to the deploy.yml file to prevent validation pipeline failures caused by the deployer function in the Bicep file.#258
Roopan-Microsoft merged 1 commit intodevfrom
psl-cpConditionDeployer

Conversation

@NirajC-Microsoft
Copy link
Copy Markdown
Contributor

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

Purpose

This pull request introduces a small but important improvement to the deployment workflow and infrastructure configuration by standardizing the way the "CreatedBy" metadata is set during deployments. This change ensures that the deployment process consistently records the creator information, making resource tracking and auditing easier.

Deployment workflow and resource tagging:

  • .github/workflows/deploy.yml: Added the createdBy="Pipeline" environment variable to the deployment script, so that deployments triggered by the pipeline are clearly marked as such.
  • infra/main.bicep: Refactored the CreatedBy tag logic to use a new createdBy parameter, which defaults to the deployer's username if available, or an empty string otherwise. This makes the tagging mechanism more flexible and consistent.
  • ...

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

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 1a5e29b into dev Sep 5, 2025
5 checks passed
@Roopan-Microsoft Roopan-Microsoft deleted the psl-cpConditionDeployer branch September 5, 2025 11:38
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.10.1 🎉

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.

2 participants