ci: only run migrate job when db/migrations changes

This commit is contained in:
BBQ
2026-02-20 03:55:48 +08:00
parent f472182b82
commit e6bd5a11af
+4 -8
View File
@@ -3,16 +3,12 @@ name: CI
on:
push:
branches: [main]
paths-ignore:
- "docs/**"
- "**.md"
- "devenv/**"
paths:
- "db/migrations/**"
pull_request:
branches: [main]
paths-ignore:
- "docs/**"
- "**.md"
- "devenv/**"
paths:
- "db/migrations/**"
concurrency:
group: ci-${{ github.ref }}