From 91ad3ec47805d8019f7c6e692a2db9b710d7de39 Mon Sep 17 00:00:00 2001 From: sudlud Date: Tue, 21 Jul 2026 13:47:22 +0200 Subject: [PATCH] feat(CI): skip pch/nopch core builds on DB-only pull requests (#26716) Co-authored-by: Claude Opus 4.8 (1M context) --- .github/workflows/core-build-nopch.yml | 6 ++++++ .github/workflows/core-build-pch.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/core-build-nopch.yml b/.github/workflows/core-build-nopch.yml index 3cfcc6254..0e8a26b66 100644 --- a/.github/workflows/core-build-nopch.yml +++ b/.github/workflows/core-build-nopch.yml @@ -8,6 +8,12 @@ on: - opened - reopened - synchronize + # A PR that only touches data/ (SQL) leaves the C++ untouched, so there is + # nothing to compile. Dashboard CI runs on every PR unfiltered and already + # imports the SQL and starts a real worldserver, so coverage is unaffected. + # Pushes to master are not filtered and always build. + paths-ignore: + - 'data/**' concurrency: # One concurrency group per workflow + ref. diff --git a/.github/workflows/core-build-pch.yml b/.github/workflows/core-build-pch.yml index b50d4f4b8..2a8d27a01 100644 --- a/.github/workflows/core-build-pch.yml +++ b/.github/workflows/core-build-pch.yml @@ -8,6 +8,12 @@ on: - opened - reopened - synchronize + # A PR that only touches data/ (SQL) leaves the C++ untouched, so there is + # nothing to compile. Dashboard CI runs on every PR unfiltered and already + # imports the SQL and starts a real worldserver, so coverage is unaffected. + # Pushes to master are not filtered and always build. + paths-ignore: + - 'data/**' concurrency: # One concurrency group per workflow + ref.