Skip to content

ci: fix pipeline vulnerabilities#533

Merged
Prajwal-Microsoft merged 1 commit intomainfrom
psl-pipeline-security-fix
Jan 12, 2026
Merged

ci: fix pipeline vulnerabilities#533
Prajwal-Microsoft merged 1 commit intomainfrom
psl-pipeline-security-fix

Conversation

@Vamshi-Microsoft
Copy link
Copy Markdown
Contributor

Purpose

This pull request updates the CI and test automation GitHub Actions workflows to improve security and streamline tool installation. The most significant changes are the addition of explicit permissions for workflow runs and the replacement of manual CLI installation steps with official setup actions.

Security improvements:

  • Added explicit permissions for contents: read and actions: read in both .github/workflows/CI.yml and .github/workflows/test-automation.yml to restrict workflow access and enhance security. [1] [2]

Tool installation updates:

  • Replaced manual installation of Azure Developer CLI (azd) with the official Azure/setup-azd@v2 GitHub Action for more reliable and maintainable setup.
  • Removed manual installation steps for Azure CLI in both the main CI job and the deploy job, reducing redundancy and simplifying workflow maintenance. [1] [2]

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.

@Prajwal-Microsoft Prajwal-Microsoft merged commit cf75f61 into main Jan 12, 2026
2 checks passed
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.2.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@Roopan-Microsoft Roopan-Microsoft deleted the psl-pipeline-security-fix branch March 4, 2026 12:02
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