Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/quasar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading