diff --git a/.github/workflows/news-article-generator.lock.yml b/.github/workflows/news-article-generator.lock.yml index 1793c50ef..798fc6cbb 100644 --- a/.github/workflows/news-article-generator.lock.yml +++ b/.github/workflows/news-article-generator.lock.yml @@ -1046,6 +1046,14 @@ jobs: run: | mkdir -p /tmp/gh-aw/threat-detection touch /tmp/gh-aw/threat-detection/detection.log + - name: Clean up AWF containers from previous execution + if: always() && steps.detection_guard.outputs.run_detection == 'true' + continue-on-error: true + run: | + echo "Cleaning up leftover AWF Docker containers..." + docker rm -f awf-api-proxy awf-squid awf-agent 2>/dev/null || true + docker network rm awf-network 2>/dev/null || true + echo "AWF container cleanup complete" - name: Execute GitHub Copilot CLI if: always() && steps.detection_guard.outputs.run_detection == 'true' id: detection_agentic_execution diff --git a/.github/workflows/news-committee-reports.lock.yml b/.github/workflows/news-committee-reports.lock.yml index 3dabc5fb0..a0fcc5573 100644 --- a/.github/workflows/news-committee-reports.lock.yml +++ b/.github/workflows/news-committee-reports.lock.yml @@ -1005,6 +1005,14 @@ jobs: run: | mkdir -p /tmp/gh-aw/threat-detection touch /tmp/gh-aw/threat-detection/detection.log + - name: Clean up AWF containers from previous execution + if: always() && steps.detection_guard.outputs.run_detection == 'true' + continue-on-error: true + run: | + echo "Cleaning up leftover AWF Docker containers..." + docker rm -f awf-api-proxy awf-squid awf-agent 2>/dev/null || true + docker network rm awf-network 2>/dev/null || true + echo "AWF container cleanup complete" - name: Execute GitHub Copilot CLI if: always() && steps.detection_guard.outputs.run_detection == 'true' id: detection_agentic_execution diff --git a/.github/workflows/news-evening-analysis.lock.yml b/.github/workflows/news-evening-analysis.lock.yml index b0bfce663..f759dc4d6 100644 --- a/.github/workflows/news-evening-analysis.lock.yml +++ b/.github/workflows/news-evening-analysis.lock.yml @@ -1030,6 +1030,14 @@ jobs: run: | mkdir -p /tmp/gh-aw/threat-detection touch /tmp/gh-aw/threat-detection/detection.log + - name: Clean up AWF containers from previous execution + if: always() && steps.detection_guard.outputs.run_detection == 'true' + continue-on-error: true + run: | + echo "Cleaning up leftover AWF Docker containers..." + docker rm -f awf-api-proxy awf-squid awf-agent 2>/dev/null || true + docker network rm awf-network 2>/dev/null || true + echo "AWF container cleanup complete" - name: Execute GitHub Copilot CLI if: always() && steps.detection_guard.outputs.run_detection == 'true' id: detection_agentic_execution diff --git a/.github/workflows/news-month-ahead.lock.yml b/.github/workflows/news-month-ahead.lock.yml index c951fd842..f4de464fa 100644 --- a/.github/workflows/news-month-ahead.lock.yml +++ b/.github/workflows/news-month-ahead.lock.yml @@ -1005,6 +1005,14 @@ jobs: run: | mkdir -p /tmp/gh-aw/threat-detection touch /tmp/gh-aw/threat-detection/detection.log + - name: Clean up AWF containers from previous execution + if: always() && steps.detection_guard.outputs.run_detection == 'true' + continue-on-error: true + run: | + echo "Cleaning up leftover AWF Docker containers..." + docker rm -f awf-api-proxy awf-squid awf-agent 2>/dev/null || true + docker network rm awf-network 2>/dev/null || true + echo "AWF container cleanup complete" - name: Execute GitHub Copilot CLI if: always() && steps.detection_guard.outputs.run_detection == 'true' id: detection_agentic_execution diff --git a/.github/workflows/news-monthly-review.lock.yml b/.github/workflows/news-monthly-review.lock.yml index 66eb0896a..856c899a1 100644 --- a/.github/workflows/news-monthly-review.lock.yml +++ b/.github/workflows/news-monthly-review.lock.yml @@ -1005,6 +1005,14 @@ jobs: run: | mkdir -p /tmp/gh-aw/threat-detection touch /tmp/gh-aw/threat-detection/detection.log + - name: Clean up AWF containers from previous execution + if: always() && steps.detection_guard.outputs.run_detection == 'true' + continue-on-error: true + run: | + echo "Cleaning up leftover AWF Docker containers..." + docker rm -f awf-api-proxy awf-squid awf-agent 2>/dev/null || true + docker network rm awf-network 2>/dev/null || true + echo "AWF container cleanup complete" - name: Execute GitHub Copilot CLI if: always() && steps.detection_guard.outputs.run_detection == 'true' id: detection_agentic_execution diff --git a/.github/workflows/news-motions.lock.yml b/.github/workflows/news-motions.lock.yml index 874ae782d..594047a34 100644 --- a/.github/workflows/news-motions.lock.yml +++ b/.github/workflows/news-motions.lock.yml @@ -1005,6 +1005,14 @@ jobs: run: | mkdir -p /tmp/gh-aw/threat-detection touch /tmp/gh-aw/threat-detection/detection.log + - name: Clean up AWF containers from previous execution + if: always() && steps.detection_guard.outputs.run_detection == 'true' + continue-on-error: true + run: | + echo "Cleaning up leftover AWF Docker containers..." + docker rm -f awf-api-proxy awf-squid awf-agent 2>/dev/null || true + docker network rm awf-network 2>/dev/null || true + echo "AWF container cleanup complete" - name: Execute GitHub Copilot CLI if: always() && steps.detection_guard.outputs.run_detection == 'true' id: detection_agentic_execution diff --git a/.github/workflows/news-propositions.lock.yml b/.github/workflows/news-propositions.lock.yml index 1102d66e2..e938cde6d 100644 --- a/.github/workflows/news-propositions.lock.yml +++ b/.github/workflows/news-propositions.lock.yml @@ -1005,6 +1005,14 @@ jobs: run: | mkdir -p /tmp/gh-aw/threat-detection touch /tmp/gh-aw/threat-detection/detection.log + - name: Clean up AWF containers from previous execution + if: always() && steps.detection_guard.outputs.run_detection == 'true' + continue-on-error: true + run: | + echo "Cleaning up leftover AWF Docker containers..." + docker rm -f awf-api-proxy awf-squid awf-agent 2>/dev/null || true + docker network rm awf-network 2>/dev/null || true + echo "AWF container cleanup complete" - name: Execute GitHub Copilot CLI if: always() && steps.detection_guard.outputs.run_detection == 'true' id: detection_agentic_execution diff --git a/.github/workflows/news-realtime-monitor.lock.yml b/.github/workflows/news-realtime-monitor.lock.yml index 4b68d7f06..8e6cb3f94 100644 --- a/.github/workflows/news-realtime-monitor.lock.yml +++ b/.github/workflows/news-realtime-monitor.lock.yml @@ -1023,6 +1023,14 @@ jobs: run: | mkdir -p /tmp/gh-aw/threat-detection touch /tmp/gh-aw/threat-detection/detection.log + - name: Clean up AWF containers from previous execution + if: always() && steps.detection_guard.outputs.run_detection == 'true' + continue-on-error: true + run: | + echo "Cleaning up leftover AWF Docker containers..." + docker rm -f awf-api-proxy awf-squid awf-agent 2>/dev/null || true + docker network rm awf-network 2>/dev/null || true + echo "AWF container cleanup complete" - name: Execute GitHub Copilot CLI if: always() && steps.detection_guard.outputs.run_detection == 'true' id: detection_agentic_execution diff --git a/.github/workflows/news-week-ahead.lock.yml b/.github/workflows/news-week-ahead.lock.yml index 3d267e22a..913ba65ea 100644 --- a/.github/workflows/news-week-ahead.lock.yml +++ b/.github/workflows/news-week-ahead.lock.yml @@ -1005,6 +1005,14 @@ jobs: run: | mkdir -p /tmp/gh-aw/threat-detection touch /tmp/gh-aw/threat-detection/detection.log + - name: Clean up AWF containers from previous execution + if: always() && steps.detection_guard.outputs.run_detection == 'true' + continue-on-error: true + run: | + echo "Cleaning up leftover AWF Docker containers..." + docker rm -f awf-api-proxy awf-squid awf-agent 2>/dev/null || true + docker network rm awf-network 2>/dev/null || true + echo "AWF container cleanup complete" - name: Execute GitHub Copilot CLI if: always() && steps.detection_guard.outputs.run_detection == 'true' id: detection_agentic_execution diff --git a/.github/workflows/news-weekly-review.lock.yml b/.github/workflows/news-weekly-review.lock.yml index 0ad336e39..28c585447 100644 --- a/.github/workflows/news-weekly-review.lock.yml +++ b/.github/workflows/news-weekly-review.lock.yml @@ -1005,6 +1005,14 @@ jobs: run: | mkdir -p /tmp/gh-aw/threat-detection touch /tmp/gh-aw/threat-detection/detection.log + - name: Clean up AWF containers from previous execution + if: always() && steps.detection_guard.outputs.run_detection == 'true' + continue-on-error: true + run: | + echo "Cleaning up leftover AWF Docker containers..." + docker rm -f awf-api-proxy awf-squid awf-agent 2>/dev/null || true + docker network rm awf-network 2>/dev/null || true + echo "AWF container cleanup complete" - name: Execute GitHub Copilot CLI if: always() && steps.detection_guard.outputs.run_detection == 'true' id: detection_agentic_execution