From b84f211e71ac4d37687218bcb8cfe8bf3a4e64f1 Mon Sep 17 00:00:00 2001 From: Sharang Parnerkar <30073382+mighty840@users.noreply.github.com> Date: Fri, 9 Oct 2026 20:21:02 +0200 Subject: [PATCH] ci: the agent redeploys when werkbank-exec, control-map or docker/ change The agent links werkbank-exec and control-map and its image copies helper scripts from docker/ (mobsfscan, Yocto recipes, devskim, entrypoint), but a change to only those paths did not redeploy the agent. Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p --- .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" -- 2.54.1