From ca7da61cba12705a83bdbdc84394415a89166e2b Mon Sep 17 00:00:00 2001 From: Harshit Gangal Date: Fri, 29 Sep 2023 19:49:36 +0530 Subject: [PATCH] Code freeze of release-18.0 Signed-off-by: Harshit Gangal --- .github/workflows/code_freeze.yml | 2 +- tools/code_freeze.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/code_freeze.yml b/.github/workflows/code_freeze.yml index 5640bc01b69..16128a39938 100644 --- a/.github/workflows/code_freeze.yml +++ b/.github/workflows/code_freeze.yml @@ -11,4 +11,4 @@ jobs: steps: - name: Fail if Code Freeze is enabled run: | - exit 0 + exit 1 diff --git a/tools/code_freeze.sh b/tools/code_freeze.sh index 7537ffbb13c..8e4f3ec12a6 100755 --- a/tools/code_freeze.sh +++ b/tools/code_freeze.sh @@ -34,7 +34,7 @@ freeze=$1 branch=$2 code_freeze_workflow="./.github/workflows/code_freeze.yml" -if [ "$freeze" != "freeze" && "$freeze" != "unfreeze" ]; then +if [[ "$freeze" != "freeze" && "$freeze" != "unfreeze" ]]; then echo "the first argument must be either 'freeze' or 'unfreeze'" exit 1 fi