From d9f5ad85dcc1e20263d52af8ef9c73658f8e790c Mon Sep 17 00:00:00 2001 From: Sharang Parnerkar Date: Fri, 9 Oct 2026 18:33:57 +0000 Subject: [PATCH] ci: the agent redeploys when werkbank-exec, control-map or docker/ change (#560) --- .gitea/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 1e3c147..5a1f683 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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"