commit 635e46c5acc51308fdf340afe76d38c3dbff541e parent a9b15efb467bd4172b69648fbf3684da31c27257 Author: minerva-jupitr <ryouturn@gmail.com> Date: Tue, 22 Apr 2025 16:07:08 +0900 change gh Diffstat:
| M | .github/workflows/PRbuild.yaml | | | 12 | +++++------- |
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/PRbuild.yaml b/.github/workflows/PRbuild.yaml @@ -21,9 +21,7 @@ jobs: name: main path: ./main.pdf - name: Add comment to PR - uses: unsplash/comment-on-pr@v1 - with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - body: | - The PDF has been generated successfully. You can download it [here](${{ artifact_url }}). - Please check the build log for any errors or warnings.- \ No newline at end of file + run: | + gh pr comment ${{ github.event.number }} --body-file comment.md + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ \ No newline at end of file