From d9b4d272d3a049f5c0a40451e49aa452a436e286 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Thu, 18 Dec 2025 14:21:18 +1300 Subject: [PATCH] Fix multiple comments on label change failure --- maintenance/code-backports.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/code-backports.sh b/maintenance/code-backports.sh index 33f4e8d..ce954bc 100755 --- a/maintenance/code-backports.sh +++ b/maintenance/code-backports.sh @@ -62,7 +62,7 @@ if test "$prlist" -ne 0; then echo "$msg" | grep -E "^error:" unlabel=`echo "$msg" | grep -E "The.previous.cherry-pick.is.now.empty"` if ! test -z "$unlabel" ; then - gh pr edit --repo squid-cache/squid $prnum --remove-label backport-to-v$version + gh pr edit --repo squid-cache/squid $prnum --remove-label backport-to-v$version && gh pr comment --repo squid-cache/squid $prnum --body "queued for backport to v$version" fi fi