diff --git a/.github/workflows/azd-template-validation.yml b/.github/workflows/azd-template-validation.yml index d2e2abc..82f1a55 100644 --- a/.github/workflows/azd-template-validation.yml +++ b/.github/workflows/azd-template-validation.yml @@ -1,5 +1,7 @@ name: AZD Template Validation on: + schedule: + - cron: '30 1 * * 4' # Every Thursday at 7:00 AM IST (1:30 AM UTC) workflow_dispatch: push: branches: diff --git a/.github/workflows/azure-dev.yml b/.github/workflows/azure-dev.yml index 0e30910..5d8f638 100644 --- a/.github/workflows/azure-dev.yml +++ b/.github/workflows/azure-dev.yml @@ -32,6 +32,13 @@ jobs: with: submodules: recursive + - name: Generate unique env name per run + shell: bash + run: | + SUFFIX="${GITHUB_RUN_ID}" + echo "AZURE_ENV_NAME=${AZURE_ENV_NAME}-${SUFFIX}" >> "$GITHUB_ENV" + echo "Using unique AZURE_ENV_NAME: ${AZURE_ENV_NAME}-${SUFFIX}" + - name: Install azd uses: Azure/setup-azd@v2