Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: use on pullrequest paths to control which SQL file to check (#9151)

Tianzhou (天舟)126e450cc146
diff --git a/.github/workflows/sql-review.yml b/.github/workflows/sql-review.yml
index 70c363f253..42666a3efb 100644
--- a/.github/workflows/sql-review.yml
+++ b/.github/workflows/sql-review.yml
@@ -1,4 +1,7 @@
-on: [pull_request]
+on:
+ pull_request:
+ paths:
+ - 'backend/migrator/migration/**.sql'
jobs:
sql-review:
@@ -11,4 +14,3 @@ jobs:
with:
override-file-path: ./sql-review-override.yml
database-type: POSTGRES
- file-pattern: ^backend/migrator/migration/.*\.sql$