fix(ci): add workflow changes to backward-compat trigger paths
Some checks failed
Deploy API Server / build-and-unit (push) Successful in 31s
Deploy API Server / current-integration (push) Successful in 2m59s
Deploy API Server / backward-compat (push) Failing after 15s
Deploy API Server / deploy (push) Has been skipped

- Changes to CI pipeline itself should verify backward-compat still works

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
wangdl 2026-06-20 14:05:21 +08:00
parent ade2f58ac5
commit 56d3928cf3

View File

@ -144,7 +144,7 @@ jobs:
fi fi
echo "Previous HEAD: ${PREV:-none}" echo "Previous HEAD: ${PREV:-none}"
echo "Changed files: $CHANGED" echo "Changed files: $CHANGED"
if echo "$CHANGED" | grep -qE "prisma/schema.prisma|prisma/migrations/|src/modules/ai-analysis/|src/workers/ai-analysis.worker.ts|src/infrastructure/queue/|src/infrastructure/outbox/|src/modules/ai-runtime/ai-job"; then if echo "$CHANGED" | grep -qE "prisma/schema.prisma|prisma/migrations/|src/modules/ai-analysis/|src/workers/ai-analysis.worker.ts|src/infrastructure/queue/|src/infrastructure/outbox/|src/modules/ai-runtime/ai-job|.gitea/workflows/"; then
echo "DB-related changes detected — running backward compatibility" echo "DB-related changes detected — running backward compatibility"
echo "run_compat=true" > /tmp/compat-decision echo "run_compat=true" > /tmp/compat-decision
else else