File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -14,21 +14,15 @@ jobs:
14
14
body="${body//$'\n'/'%0A'}"
15
15
body="${body//$'\r'/'%0D'}"
16
16
echo ::set-output name=body::$body
17
- - name : Find Comment
18
- uses : peter-evans/find-comment@v1
19
- id : fc
20
- with :
21
- issue-number : ${{ github.event.number }}
22
- comment-author : ${{ github.event.pull_request.user.login }}
23
17
- name : Print Comment ID
24
- run : echo ${{ steps.fc.outputs.comment- id }}
18
+ run : echo ${{ github.event.pull_request.comments[0]. id }}
25
19
- name : Update comment
26
20
# if: github.event.action == 'opened'
27
21
uses : peter-evans/create-or-update-comment@v1
28
22
env :
29
23
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30
24
with :
31
- comment-id : ${{ steps.fc.outputs.comment- id }}
25
+ comment-id : ${{ github.event.pull_request.comments[0]. id }}
32
26
body : ${{ steps.get-comment-body.outputs.body }}
33
27
edit-mode : append
34
28
enforce-checklist :
You can’t perform that action at this time.
0 commit comments