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"