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