From 0bd6e2e7cbf3b2b9149c81faf7bfdc13feef4131 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20Loba=C4=8Devski?= Date: Fri, 4 Sep 2026 14:56:59 +0300 Subject: [PATCH] Change comparison operator to 'greater than or equal' --- .github/workflows/update-integration-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-integration-tests.yml b/.github/workflows/update-integration-tests.yml index 652a440..399effe 100644 --- a/.github/workflows/update-integration-tests.yml +++ b/.github/workflows/update-integration-tests.yml @@ -43,7 +43,7 @@ jobs: head_sha="$(echo "$pr" | jq -r .head.sha)" pushed_at="$(echo "$pr" | jq -r .pushed_at)" - if [[ $(date -d "$pushed_at" +%s) -gt $(date -d "$COMMENT_AT" +%s) ]]; then + if [[ $(date -d "$pushed_at" +%s) -ge $(date -d "$COMMENT_AT" +%s) ]]; then echo "Updating is not allowed because the PR was pushed to (at $pushed_at) after the triggering comment was issued (at $COMMENT_AT)" exit 1 fi