From e6bd5a11af26f0500e577cf9a32e60c89dc0475b Mon Sep 17 00:00:00 2001 From: BBQ Date: Fri, 20 Feb 2026 03:55:48 +0800 Subject: [PATCH] ci: only run migrate job when db/migrations changes --- .github/workflows/ci.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 676772a9..1810e3aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }}