Skip to content

Commit

Permalink
fix github action
Browse files Browse the repository at this point in the history
  • Loading branch information
sywhb committed Aug 29, 2024
1 parent 43fb698 commit 2ff987d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/lint-migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ jobs:
run: |
modified_migrations=$(git diff --diff-filter=d --name-only main 'packages/db/migrations/*.do.*.sql')
echo "$modified_migrations"
echo "text<<EOF" >> $GITHUB_OUTPUT
echo "file_names=$modified_migrations" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
id: modified-migrations
- uses: sbdchd/squawk-action@v1
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

BEGIN;

ALTER TYPE user_status_type ADD VALUE 'ARCHIVED';
ALTER TYPE user_status_type ADD VALUE IF NOT EXISTS 'ARCHIVED';

COMMIT;

0 comments on commit 2ff987d

Please sign in to comment.