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.