Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxymVlasov committed Feb 12, 2025
1 parent f2fe9c3 commit 4f5c413
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,8 @@ jobs:
echo "PR number: $pr_number"
# Check if the comment exists and get the latest comment ID
comment_id=$(gh api "repos/${{ github.repository }}/issues/${pr_number}/comments" \
--jq 'sort_by(.created_at) | reverse | .[0] \
| select(.body | contains("Dive Summary")) | .id')
comment_id=$(gh api "repos/${{ github.repository }}/issues/${pr_number}/comments" --jq \
'sort_by(.created_at) | reverse | .[0] | select(.body | contains("Dive Summary")) | .id')
echo "Comment ID: $comment_id"
if [ -z "$comment_id" ]; then
Expand Down

0 comments on commit 4f5c413

Please sign in to comment.