Skip to content

Commit

Permalink
revert warn
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschonti committed Sep 26, 2024
1 parent 153ce15 commit 4354079
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/prisma-migration-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ jobs:
echo "migration_added=false" >> $GITHUB_ENV
fi
- name: Warn if `schema.prisma` was modified and no migration was added
- name: Fail if `schema.prisma` was modified and no migration was added
if: env.schema_changed == 'true' && env.migration_added == 'false'
run: |
echo "::warning::The schema.prisma file was modified, but no new migration was added. Please ensure you commit a migration file when modifying the schema."
echo "The schema.prisma file was modified, but no new migration was added."
exit 1

0 comments on commit 4354079

Please sign in to comment.