File tree Expand file tree Collapse file tree 1 file changed +2
-15
lines changed
Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -72,24 +72,11 @@ jobs:
7272 echo '```'
7373 } > comment-body.md
7474
75- - name : find-comment
76- uses : peter-evans/find-comment@v3
77- id : fc
78- with :
79- issue-number : ${{ github.event.pull_request.number }}
80- comment-author : ' github-actions[bot]'
81- body-includes : ' <!-- opentofu-plan -->'
82-
83- - name : delete-comment
84- if : steps.fc.outputs.comment-id != ''
85- run : gh api repos/${{ github.repository }}/issues/comments/${{ steps.fc.outputs.comment-id }} -X DELETE
86- env :
87- GH_TOKEN : ${{ github.token }}
88-
8975 - name : comment
90- uses : peter-evans/create-or-update- comment@v4
76+ uses : johanwulf/replace- comment@v1
9177 with :
9278 issue-number : ${{ github.event.pull_request.number }}
79+ body-includes : ' <!-- opentofu-plan -->'
9380 body-path : comment-body.md
9481
9582 apply :
You can’t perform that action at this time.
0 commit comments