From f476389ec3df675d8525d64b6288e3ded32d18bf Mon Sep 17 00:00:00 2001 From: tombuildsstuff Date: Wed, 15 Feb 2023 16:23:29 +0100 Subject: [PATCH 1/2] fix: removing the (intentional) `exit 1` from `run-gradually-deprecated` --- scripts/run-gradually-deprecated.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scripts/run-gradually-deprecated.sh b/scripts/run-gradually-deprecated.sh index 9c7cc71f5a80..14a41fbef7b7 100755 --- a/scripts/run-gradually-deprecated.sh +++ b/scripts/run-gradually-deprecated.sh @@ -148,10 +148,6 @@ function runDeprecatedFunctions { } function main { - # testing - echo "in main" - exit 1 - if [ "$GITHUB_ACTIONS_STAGE" == "UNIT_TESTS" ]; then echo "Skipping - the Gradually Deprecated check is separate in Github Actions" @@ -164,5 +160,4 @@ function main { checkForUnclearErrorMessages } -echo "in file" main From 27fbb3caf99345e978c75c2225c0927bdfea144b Mon Sep 17 00:00:00 2001 From: tombuildsstuff Date: Wed, 15 Feb 2023 16:24:52 +0100 Subject: [PATCH 2/2] tooling: running when the script changes too --- .github/workflows/gradually-deprecated.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/gradually-deprecated.yaml b/.github/workflows/gradually-deprecated.yaml index 4347fcd54432..9c7c8cf9e043 100644 --- a/.github/workflows/gradually-deprecated.yaml +++ b/.github/workflows/gradually-deprecated.yaml @@ -11,6 +11,7 @@ on: paths: - '.github/workflows/gradually-deprecated.yaml' - '**.go' + - './scripts/run-gradually-deprecated.sh' jobs: test: