File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ sql-review:
2525 - FILES=$(git diff-tree --no-commit-id --diff-filter=AM --name-only -r origin/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME -r $CI_COMMIT_SHA -- '*.sql')
2626 - echo $FILES
2727 # TODO: change the url
28- - curl -o ./sql-review.sh "https://raw.githubusercontent.com/ed-bytebase/sql-review-gitlab-ci/$VERSION/sql-review.sh"
28+ - curl -o ./tmp/ sql-review.sh "https://raw.githubusercontent.com/ed-bytebase/sql-review-gitlab-ci/$VERSION/sql-review.sh"
2929 # https://gitlab.com/gitlab-org/gitlab-runner/-/issues/2672
30- - bash $CI_PROJECT_DIR/.gitlab /sql-review.sh --files="$FILES" --api="$SQL_REVIEW_API"
30+ - bash ./tmp /sql-review.sh --files="$FILES" --api="$SQL_REVIEW_API"
3131 artifacts :
3232 when : always
3333 reports :
You can’t perform that action at this time.
0 commit comments