From f29ac02ac50c290c3cc4c8b5947f66cde6450eda Mon Sep 17 00:00:00 2001 From: Ralph Khreish <35776126+Crunchyman-ralph@users.noreply.github.com> Date: Mon, 22 Sep 2025 14:43:59 +0200 Subject: [PATCH] debug: add temporary debug output to check markdown table format --- .github/workflows/weekly-metrics-discord.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/weekly-metrics-discord.yml b/.github/workflows/weekly-metrics-discord.yml index e6d83a3c..4f0a3c32 100644 --- a/.github/workflows/weekly-metrics-discord.yml +++ b/.github/workflows/weekly-metrics-discord.yml @@ -48,6 +48,13 @@ jobs: run: | # Parse the metrics from the generated markdown files if [ -f "issue_metrics.md" ]; then + echo "DEBUG: issue_metrics.md content:" + head -20 issue_metrics.md + echo "DEBUG: Lines with 'Time to first response':" + grep "Time to first response" issue_metrics.md || echo "No matches found" + echo "DEBUG: Lines with 'Time to close':" + grep "Time to close" issue_metrics.md || echo "No matches found" + # Extract key metrics using grep/awk AVG_TIME_TO_FIRST_RESPONSE=$(grep "Time to first response" issue_metrics.md | awk -F'|' '{print $3}' | xargs || echo "N/A") AVG_TIME_TO_CLOSE=$(grep "Time to close" issue_metrics.md | awk -F'|' '{print $3}' | xargs || echo "N/A")