diff --git a/.github/workflows/CAdeploy.yml b/.github/workflows/CAdeploy.yml index 0c108fc59..c29837d9c 100644 --- a/.github/workflows/CAdeploy.yml +++ b/.github/workflows/CAdeploy.yml @@ -26,10 +26,10 @@ jobs: export TEXT_EMBEDDING_MIN_CAPACITY="45" export AZURE_REGIONS="${{ vars.AZURE_REGIONS_CA }}" - chmod +x scripts/checkquota.sh - if ! scripts/checkquota.sh; then + chmod +x infra/scripts/checkquota.sh + if ! infra/scripts/checkquota.sh; then # If quota check fails due to insufficient quota, set the flag - if grep -q "No region with sufficient quota found" scripts/checkquota.sh; then + if grep -q "No region with sufficient quota found" infra/scripts/checkquota.sh; then echo "QUOTA_FAILED=true" >> $GITHUB_ENV fi exit 1 # Fail the pipeline if any other failure occurs diff --git a/.github/workflows/Create-Release.yml b/.github/workflows/Create-Release.yml index 2d8caf8a8..8ddc259ac 100644 --- a/.github/workflows/Create-Release.yml +++ b/.github/workflows/Create-Release.yml @@ -56,7 +56,7 @@ jobs: '@semantic-release/github' ] env: - GITHUB_TOKEN: ${{ secrets.TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: echo ${{ steps.semantic.outputs.release-version }} - run: echo "$OUTPUTS" diff --git a/.github/workflows/azure-dev-validation.yml b/.github/workflows/azure-dev-validation.yml index 761341a1d..5385af720 100644 --- a/.github/workflows/azure-dev-validation.yml +++ b/.github/workflows/azure-dev-validation.yml @@ -1,9 +1,5 @@ name: Azure Template Validation on: - push: - branches: - - dev - - main workflow_dispatch: permissions: