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