diff --git a/.github/workflows/azure-dev.yml b/.github/workflows/azure-dev.yml index b1ef0981..a218d3c0 100644 --- a/.github/workflows/azure-dev.yml +++ b/.github/workflows/azure-dev.yml @@ -1,9 +1,7 @@ name: Azure Template Validation on: workflow_dispatch: - push: - branches: - - main + permissions: contents: read id-token: write @@ -32,6 +30,7 @@ jobs: AZURE_ENV_NAME: ${{ secrets.AZURE_ENV_NAME }} AZURE_LOCATION: ${{ secrets.AZURE_LOCATION }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + AZURE_DEV_COLLECT_TELEMETRY: ${{ vars.AZURE_DEV_COLLECT_TELEMETRY }} # Step 3: Print the result of the validation - name: Print result run: cat ${{ steps.validation.outputs.resultFile }}