diff --git a/entrypoint.sh b/entrypoint.sh index bab9e95..95ac5a9 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -14,7 +14,7 @@ git config --global --add safe.directory /github/workspace echo '::group::🐶 Get changed files' # The command is necessary to get changed files. # TODO Fetch only the target branch -git fetch --prune --unshallow --no-tags +git fetch --prune --depth 10000 --no-tags SQL_FILE_PATTERN="${FILE_PATTERN:?}" SOURCE_REFERENCE="origin/${GITHUB_PULL_REQUEST_BASE_REF:?}" diff --git a/testdata/test_failed_dbt/models/staging/staging_test.sql b/testdata/test_failed_dbt/models/staging/staging_test.sql index 222ef69..84f3f53 100644 --- a/testdata/test_failed_dbt/models/staging/staging_test.sql +++ b/testdata/test_failed_dbt/models/staging/staging_test.sql @@ -2,5 +2,5 @@ SELECT 1 AS x, - 2 AS y, + 2 AS y, 3 AS z