You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/check-migrations.yml
+7-3
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,8 @@ name: Check Migrations
3
3
on:
4
4
pull_request:
5
5
types: [opened, synchronize]
6
-
paths:
7
-
- 'src/database/migrations/**'
6
+
#paths:
7
+
# - 'src/database/migrations/**'
8
8
9
9
permissions:
10
10
issues: write
@@ -38,7 +38,11 @@ jobs:
38
38
owner: context.repo.owner,
39
39
repo: context.repo.repo,
40
40
issue_number: context.issue.number,
41
-
body: "It looks like you've made changes to the migrations. Have you run `npm run db:generate-schema` to ensure the updated schemas are included in your PR?"
41
+
body: `It looks like you've made changes to the migrations. Thanks for your contribution!
42
+
- [ ] Have you run `npm run db:generate-schema` to ensure the updated schemas are included in your PR?
43
+
- [ ] Have you run `npm run db:migrate` and then `npm run db:rollback` to confirm that rollbacks are working as expected?
44
+
45
+
Note: Please avoid making changes to existing migration files, as this will alter the file hash and could break migrations in production environments.`
0 commit comments