From 382822519cab0eb7cc4b67a681dd907bc910c205 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 30 Jun 2026 19:50:55 +0000 Subject: [PATCH] ci: build all Quasar projects when .ghaignore is empty quasar.yml computed its project list with `find ... | grep -vE "$ignore_pattern"`. With .ghaignore empty, ignore_pattern is empty and `grep -vE ""` matches every line, so the inverted match dropped every project and the workflow passed without building anything. Guard the filter so it only runs when a pattern exists, matching anchor.yml, native.yml, pinocchio.yml and solana-asm.yml. --- .github/workflows/quasar.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/quasar.yml b/.github/workflows/quasar.yml index 609b913a..e006735f 100644 --- a/.github/workflows/quasar.yml +++ b/.github/workflows/quasar.yml @@ -57,7 +57,14 @@ jobs: # that by construction — no substring matching, no path-segment trickery, # so siblings like "quasar-example/" can never enter the build list. function get_projects() { - find . -type d -name "quasar" | grep -vE "$ignore_pattern" | sort + # An empty .ghaignore makes ignore_pattern empty, and `grep -vE ""` + # matches everything, silently emptying the project list - only + # filter when there is actually a pattern. + if [[ -n "$ignore_pattern" ]]; then + find . -type d -name "quasar" | grep -vE "$ignore_pattern" | sort + else + find . -type d -name "quasar" | sort + fi } # Filter the full project list down to projects touched by the given