From 468b30fa9b3bdce2b107e192617c05dae1486a64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Krassowski?= <5832902+krassowski@users.noreply.github.com> Date: Mon, 8 Jul 2024 16:58:56 +0100 Subject: [PATCH] Add error message if short-circuiting --- .github/workflows/galata-update.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/galata-update.yml b/.github/workflows/galata-update.yml index b71ca2bec702..a6e852f484dc 100644 --- a/.github/workflows/galata-update.yml +++ b/.github/workflows/galata-update.yml @@ -146,6 +146,7 @@ jobs: updated_at="$(echo "$pr" | jq -r .updated_at)" if [[ $(date -d "$updated_at" +%s) -gt $(date -d "$COMMENT_AT" +%s) ]]; then + echo "Updating is not allowed because the PR changed (at $COMMENT_AT) since the triggering comment was issued (at $updated_at)" exit 1 fi