Skip to content

Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.

ci.yml: blank lines in tools/ci/site_lane.txt are ignored (an empty pattern would make every change site-only and skip the build)

islandmedf74d990e443e
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index bf8d1644..ee29033d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -80,7 +80,7 @@ jobs:
# Site lane: every file on tools/ci/site_lane.txt (the list ~/Work/.sf/lane.sh reads too), read from the base,
# never from the change itself (a pull request can't widen it for its own run).
lane=$(gh api "repos/$REPO/contents/tools/ci/site_lane.txt?ref=$base" -H 'Accept: application/vnd.github.raw') &&
- lane=$(grep -v '^#' <<< "$lane") || lane=""
+ lane=$(grep -v -e '^#' -e '^[[:space:]]*$' <<< "$lane") || lane="" # (a blank line would match every file)
if [ -n "$files" ] && [ -n "$lane" ] && ! grep -qvE -f <(echo "$lane") <<< "$files"; then
echo "::notice::site lane only (tools/ci/site_lane.txt): no build or tests"
code=false