From b962d910562bf53065d12d091e064de6f391cd6a Mon Sep 17 00:00:00 2001 From: Anita Akaeze Date: Fri, 20 Oct 2023 11:09:31 -0700 Subject: [PATCH] skip envoy version check in ci (#19315) --- .github/scripts/verify_envoy_version.sh | 2 +- .github/workflows/verify-envoy-version.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/scripts/verify_envoy_version.sh b/.github/scripts/verify_envoy_version.sh index 91694f6086..4bcbea4cab 100755 --- a/.github/scripts/verify_envoy_version.sh +++ b/.github/scripts/verify_envoy_version.sh @@ -18,7 +18,7 @@ if [ -z "$current_branch" ]; then fi if [[ "$SKIP_VERIFY_ENVOY_VERSION" = "true" ]]; then - echo -e "*************** VERIFY ENVOY VERSION IS DISABLED. To enable, set the environment variable SKIP_VERIFY_ENVOY_VERSION to false in .github/workflows/verify-envoy-version.yml *****************" + echo -e "*************** VERIFY ENVOY VERSION IS DISABLED. To enable, update environment variable in Github settings *****************" exit 0 fi diff --git a/.github/workflows/verify-envoy-version.yml b/.github/workflows/verify-envoy-version.yml index 2e0c3a0a71..9717ac6a53 100644 --- a/.github/workflows/verify-envoy-version.yml +++ b/.github/workflows/verify-envoy-version.yml @@ -13,9 +13,10 @@ on: branches: - main - release/** + - disable_envoy_check env: - SKIP_VERIFY_ENVOY_VERSION: "false" ## temporarily disabled; set to true to disable script + SKIP_VERIFY_ENVOY_VERSION: ${{ vars.SKIP_VERIFY_ENVOY_VERSION }} jobs: verify-envoy-version: