Skip to content

ci: Migrated GitHub Actions authentication from client secrets to OIDC and Integrated Smoke Testing Automation into the pipeline#730

Merged
Prajwal-Microsoft merged 11 commits intomainfrom
psl-oidc
Mar 6, 2026
Merged

ci: Migrated GitHub Actions authentication from client secrets to OIDC and Integrated Smoke Testing Automation into the pipeline#730
Prajwal-Microsoft merged 11 commits intomainfrom
psl-oidc

Conversation

@Vamshi-Microsoft
Copy link
Contributor

Purpose

This pull request makes significant updates to the GitHub Actions workflows, focusing on improving security by adopting OIDC-based Azure authentication, simplifying workflow options, and cleaning up unused files and permissions. The changes streamline deployment processes, remove deprecated options, and enhance consistency across workflows.

Authentication and Security Improvements:

  • Migrated all Azure authentication in workflows from service principal secrets to OIDC-based authentication using the azure/login@v2 action, and updated permissions to include id-token: write where required. [1] [2] [3] [4] [5]
  • Added the environment: production key to relevant jobs for improved environment management and security context. [1] [2] [3] [4]

Workflow and Option Simplification:

  • Removed the "Devcontainer" option from deployment workflows and input validation, both in the workflow YAML and in the validation scripts, to reduce complexity and avoid unsupported configurations. [1] [2] [3] [4]
  • Updated comments and documentation strings to reflect the removal of the "Devcontainer" option. [1] [2]

Permissions and Cleanup:

  • Removed unnecessary permissions blocks from several workflow files, relying on job-level permissions and OIDC authentication instead. [1] [2] [3] [4]

Workflow File Maintenance:

  • Deleted the .github/workflows/deploy-windows.yml workflow, consolidating deployment logic and reducing redundancy.

Other Notable Updates:

  • Fixed ACR name extraction logic in Linux deployment to correctly parse the login server value.

These changes collectively improve the security, maintainability, and clarity of the CI/CD workflows.

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.

@Vamshi-Microsoft Vamshi-Microsoft changed the title ci: Migrated GitHub Actions authentication from client secrets to OIDC ci: Migrated GitHub Actions authentication from client secrets to OIDC and Integrated Smoke Testing Automation into the pipeline Mar 6, 2026
@Prajwal-Microsoft Prajwal-Microsoft merged commit 06d7cda into main Mar 6, 2026
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants