Skip to content

Commit 2f8fbf1

Browse files
committed
update ci
1 parent ccb91e8 commit 2f8fbf1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql-review.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)