From 25601754a43037c2466df043cb026968b9cd4d4e Mon Sep 17 00:00:00 2001 From: Siddharth Suresh Date: Wed, 26 Jun 2024 20:29:09 +0530 Subject: [PATCH] chore: remove check for comment time in PR release action (#4351) --- .github/workflows/pr-release.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/pr-release.yml b/.github/workflows/pr-release.yml index 2c5de9843b..280f622969 100644 --- a/.github/workflows/pr-release.yml +++ b/.github/workflows/pr-release.yml @@ -26,15 +26,9 @@ jobs: id: pr_info env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - COMMENT_AT: ${{ github.event.comment.created_at }} run: | pr="$(gh api repos/${{ github.repository }}/pulls/${{ github.event.issue.number }})" 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 echo "head_sha=$head_sha" >> $GITHUB_OUTPUT