From e74629f800fcda21c9e80ed04ef51c49e9dda258 Mon Sep 17 00:00:00 2001 From: Prajwal-Microsoft Date: Wed, 4 Mar 2026 22:28:29 +0530 Subject: [PATCH 1/2] fix: Change Azure credentials to use GitHub secrets fUpdated Azure credentials to use secrets for security. --- .github/workflows/azd-template-validation.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/azd-template-validation.yml b/.github/workflows/azd-template-validation.yml index f8df83a..9d81c38 100644 --- a/.github/workflows/azd-template-validation.yml +++ b/.github/workflows/azd-template-validation.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - pipeline-fix permissions: contents: read @@ -23,12 +24,12 @@ jobs: useDevContainer: ${{ vars.TEMPLATE_USE_DEV_CONTAINER }} id: validation env: - AZURE_CLIENT_ID: ${{ vars.AZURE_CLIENT_ID }} - AZURE_TENANT_ID: ${{ vars.AZURE_TENANT_ID }} - AZURE_SUBSCRIPTION_ID: ${{ vars.AZURE_SUBSCRIPTION_ID }} + AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }} + AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }} + AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }} AZURE_ENV_NAME: ${{ vars.AZURE_ENV_NAME }} AZURE_LOCATION: ${{ vars.AZURE_LOCATION }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: print result - run: cat ${{ steps.validation.outputs.resultFile }} \ No newline at end of file + run: cat ${{ steps.validation.outputs.resultFile }} From 3641da1532703dc0e1a1865ce06427b6dba8a893 Mon Sep 17 00:00:00 2001 From: Prajwal-Microsoft Date: Wed, 4 Mar 2026 22:52:38 +0530 Subject: [PATCH 2/2] Remove 'pipeline-fix' branch from workflow triggers --- .github/workflows/azd-template-validation.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/azd-template-validation.yml b/.github/workflows/azd-template-validation.yml index 9d81c38..7ffec1c 100644 --- a/.github/workflows/azd-template-validation.yml +++ b/.github/workflows/azd-template-validation.yml @@ -4,7 +4,6 @@ on: push: branches: - main - - pipeline-fix permissions: contents: read