ci: the agent redeploys when werkbank-exec, control-map or docker/ change (#560)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Agent (push) Skipped
CI / Deploy Dashboard (push) Skipped
CI / Deploy Docs (push) Skipped
CI / Deploy MCP (push) Skipped

This commit was merged in pull request #560.
This commit is contained in:
sharang committed 2026-10-09 18:33:57 +00:00
1 parent 64f5a810dd
commit d9f5ad85dc
1 file changed
+5 -3
+5 -3
View File
@@ -176,9 +176,11 @@ jobs:
echo "Changed files:"
echo "$CHANGED"
# Agent: core libs, agent code, agent Dockerfile, and the docs and
# README the help assistant answers from (baked into the image)
if echo "$CHANGED" | grep -qE '^(compliance-core/|compliance-agent/|compliance-graph/|compliance-dast/|Dockerfile\.agent|Cargo\.(toml|lock)|docs/|README\.md)'; then
# Agent: core libs and the crates the agent links (werkbank-exec,
# control-map), agent code, agent Dockerfile and the helper scripts
# it copies from docker/, and the docs and README the help assistant
# answers from (baked into the image)
if echo "$CHANGED" | grep -qE '^(compliance-core/|compliance-agent/|compliance-graph/|compliance-dast/|werkbank-exec/|control-map/|docker/|Dockerfile\.agent|Cargo\.(toml|lock)|docs/|README\.md)'; then
echo "agent=true" >> "$GITHUB_OUTPUT"
else
echo "agent=false" >> "$GITHUB_OUTPUT"