You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix CI: release workflow calls build directly via workflow_call
Tags pushed by GITHUB_TOKEN don't trigger other workflows. Instead,
release.yml now calls build.yml as a reusable workflow after tagging,
passing version and build flags. build.yml also supports workflow_dispatch
for manual builds.
CHANGED=$(git diff --name-only HEAD~1 HEAD 2>/dev/null || echo "all")
43
-
BUILD_UI=false
44
-
BUILD_WORKER=false
45
-
46
-
if echo "$CHANGED" | grep -qE '^(Dockerfile|requirements\.txt|app/(main|database|catalog|auth|compose_generator|exchange_rates|collectors|templates|static)|services/)'; then
47
-
BUILD_UI=true
48
-
fi
49
-
if echo "$CHANGED" | grep -qE '^(Dockerfile\.worker|requirements-worker\.txt|app/(worker_api|orchestrator)\.py)'; then
50
-
BUILD_WORKER=true
51
-
fi
52
-
if echo "$CHANGED" | grep -qE '^app/__init__\.py'; then
53
-
BUILD_UI=true
54
-
BUILD_WORKER=true
55
-
fi
56
-
57
-
# Default: if no specific detection, build both (safety net)
58
-
if [ "$BUILD_UI" = "false" ] && [ "$BUILD_WORKER" = "false" ]; then
if echo "$CHANGED" | grep -qE '^(Dockerfile|requirements\.txt|app/(main|database|catalog|auth|compose_generator|exchange_rates|collectors|templates|static))' ; then
44
+
if echo "$CHANGED" | grep -qE '^(Dockerfile|requirements\.txt|app/(main|database|catalog|auth|compose_generator|exchange_rates|constants|collectors|templates|static))'; then
46
45
BUILD_UI=true
47
46
fi
48
-
# Also trigger UI on services/ changes (catalog data)
0 commit comments