From e33a34c60f1001aa0a85cb9eb682d1b3153bed43 Mon Sep 17 00:00:00 2001 From: Luc Talatinian <102624213+lucix-aws@users.noreply.github.com> Date: Thu, 7 Dec 2023 13:21:51 -0500 Subject: [PATCH] fix codegen ci (#2418) --- ci-find-smithy-go.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci-find-smithy-go.sh b/ci-find-smithy-go.sh index 4da5d09cbf6..81eadd0a516 100755 --- a/ci-find-smithy-go.sh +++ b/ci-find-smithy-go.sh @@ -50,7 +50,9 @@ while [ -n "$branch" ] && [[ "$branch" == *-* ]]; do done if [ -z "$matched_branch" ]; then - echo found no matching smithy-go branch, stop + # default to main but don't modreplace so we can use release but codegen ci + # still works + git clone "$repository" "$RUNNER_TMPDIR"/smithy-go exit 0 fi