Skip to content

Commit

Permalink
Merge branch 'main' into siddharth/work-with-request
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhsuresh committed Jul 1, 2024
2 parents 14b9e0f + 2560175 commit 4e7f837
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/pr-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +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) > $(date -d $COMMENT_AT) ]]; exit 1; fi
echo "head_sha=$head_sha" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 4e7f837

Please sign in to comment.