Skip to content

Commit 25b76af

Browse files
authored
Update pr_build.yml
1 parent 6ff7aaa commit 25b76af

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/pr_build.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,14 @@ jobs:
5656
path: ${{github.workspace}}/${{env.file_name}}
5757

5858
# add report as PR comment (if PR)
59-
- name: comment PR
60-
uses: machine-learning-apps/pr-comment@master
61-
if: ${{ github.event_name == 'pull_request' }}
62-
env:
63-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
- name: Comment on PR
60+
uses: peter-evans/create-or-update-comment@v4
61+
if: github.event_name == 'pull_request'
6462
with:
65-
path: ${{env.file_name}}
63+
token: ${{ secrets.GITHUB_TOKEN }}
64+
issue-number: ${{ github.event.pull_request.number }}
65+
body-path: ${{ env.file_name }}
66+
edit-mode: replace
6667

6768
- name: Code Coverage Report
6869
uses: irongut/[email protected]

0 commit comments

Comments
 (0)