Skip to content

Commit 337d5f7

Browse files
authored
Merge pull request #2 from RainbowDashy/test-action-2
test action
1 parent 279d7bd commit 337d5f7

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/sql-review-action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@ jobs:
2525
BYTEBASE_PROJECT: "projects/project-sample"
2626
BYTEBASE_TARGETS: "instances/prod-sample-instance/databases/hr_prod"
2727
FILE_PATTERN: "migrations/*.sql"
28+
with:
29+
entrypoint: bytebase-action
30+
args: check --url ${{ env.BYTEBASE_URL }} --service-account ${{ env.BYTEBASE_SERVICE_ACCOUNT }} --project ${{ env.BYTEBASE_PROJECT }} --targets ${{ env.BYTEBASE_TARGETS }} --file-pattern ${{ env.FILE_PATTERN }}

migrations/202504301754_1.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CREATE TABLE IF NOT EXISTS geoiwjgoiwerjg (
2+
id int
3+
);

0 commit comments

Comments
 (0)