From 8a235ecbef090f0bc9810c77f931afb87e695afc Mon Sep 17 00:00:00 2001 From: "Babak K. Shandiz" Date: Wed, 16 Jul 2025 22:41:26 +0100 Subject: [PATCH] ci: echo spam detection result Signed-off-by: Babak K. Shandiz --- .github/workflows/scripts/spam-detection/process-issue.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scripts/spam-detection/process-issue.sh b/.github/workflows/scripts/spam-detection/process-issue.sh index a83e329cc..f65cb47e8 100755 --- a/.github/workflows/scripts/spam-detection/process-issue.sh +++ b/.github/workflows/scripts/spam-detection/process-issue.sh @@ -21,10 +21,11 @@ _check_issue_script=".github/workflows/scripts/spam-detection/check-issue.sh" _result="$($_check_issue_script "$_issue_url")" if [[ "$_result" == "PASS" ]]; then + echo "detected as not-spam: $_issue_url" exit 0 fi -echo "spam issue detected: $_issue_url" +echo "detected as spam: $_issue_url" gh issue edit --add-label "$_suspected_spam_label" "$_issue_url"