Skip to content

Commit

Permalink
Add error message if short-circuiting
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski authored Jul 8, 2024
1 parent 16887de commit 468b30f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/galata-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 468b30f

Please sign in to comment.