Skip to content

Commit ddafa69

Browse files
committed
Fix PR comment: use gh api instead of gh pr comment
1 parent 4d300a6 commit ddafa69

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/perf-test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,5 +183,6 @@ jobs:
183183
gh api repos/${{ github.repository }}/issues/comments/${EXISTING} \
184184
-X PATCH -f body="$COMMENT"
185185
else
186-
gh pr comment "$PR_NUMBER" --body "$COMMENT"
186+
gh api repos/${{ github.repository }}/issues/${PR_NUMBER}/comments \
187+
-f body="$COMMENT"
187188
fi

0 commit comments

Comments
 (0)