From 96813854cc67ad33ec3e5fc39ade036e257e8753 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Mon, 16 Mar 2026 22:27:33 -0700 Subject: [PATCH] propagate error from check_issue --- scripts/check-consistency.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/check-consistency.sh b/scripts/check-consistency.sh index 953f85d..43af426 100755 --- a/scripts/check-consistency.sh +++ b/scripts/check-consistency.sh @@ -263,7 +263,10 @@ function check_progress() fi done if [[ "$nlnet_id" != "YYYY-MM-ID" ]]; then - check_issue "$issue_number2" "$nlnet_id" "$subtask_title" "$subtask_body" || diag "note:" -line_index="$subtask_line_index" "issue is linked from here" + check_issue "$issue_number2" "$nlnet_id" "$subtask_title" "$subtask_body" || { + diag "note:" -line_index="$subtask_line_index" "issue is linked from here" + any_errors=1 + } fi done (( subtasks_total == task_amount )) || \