1
0
mirror of synced 2025-12-19 18:11:23 -05:00

Revert "fix: use correct bash syntax (#4349)"

This reverts commit e0cfa328ec.
This commit is contained in:
Siddharth Suresh
2024-06-26 19:44:19 +05:30
committed by GitHub
parent e0cfa328ec
commit e929eb6248

View File

@@ -32,9 +32,7 @@ jobs:
head_sha="$(echo "$pr" | jq -r .head.sha)"
updated_at="$(echo "$pr" | jq -r .updated_at)"
if [[ $(date -d "$updated_at" +%s) -gt $(date -d "$COMMENT_AT" +%s) ]]; then
exit 1
fi
if [[ $(date -d $updated_at) > $(date -d $COMMENT_AT) ]]; exit 1; fi
echo "head_sha=$head_sha" >> $GITHUB_OUTPUT