From f940058062a963a01240ad8340084a332162133e Mon Sep 17 00:00:00 2001 From: linrongbin16 Date: Sat, 7 Oct 2023 14:56:08 +0800 Subject: [PATCH] ci --- .github/workflows/pr.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 0b12f86ab..f209c9594 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -19,7 +19,6 @@ jobs: -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer ${{secrets.GITHUB_TOKEN}}" \ -H "X-GitHub-Api-Version: 2022-11-28" \ - https://api.github.com/repos/linrongbin16/${{ github.repository }}/commits/${{ github.sha }}/comments \ - -d '{"body":"Comment PR"}' \ - --fail + https://api.github.com/repos/linrongbin16/${{ github.repository }}/pulls/${{ github.run_number }}/comments \ + -d '{"body":"Comment PR","commit_id":"${{ github.sha }}","path":".github/PULL_REQUEST_TEMPLATE/pr.md","start_line":1}' \