@@ -10,7 +10,7 @@ A GitHub action to create or update an issue or pull request comment.
1010
1111``` yml
1212 - name : Create comment
13- uses : peter-evans/create-or-update-comment@v3
13+ uses : peter-evans/create-or-update-comment@v4
1414 with :
1515 issue-number : 1
1616 body : |
@@ -26,7 +26,7 @@ A GitHub action to create or update an issue or pull request comment.
2626
2727` ` ` yml
2828 - name : Update comment
29- uses : peter-evans/create-or-update-comment@v3
29+ uses : peter-evans/create-or-update-comment@v4
3030 with :
3131 comment-id : 557858210
3232 body : |
@@ -38,7 +38,7 @@ A GitHub action to create or update an issue or pull request comment.
3838
3939` ` ` yml
4040 - name : Add reactions
41- uses : peter-evans/create-or-update-comment@v3
41+ uses : peter-evans/create-or-update-comment@v4
4242 with :
4343 comment-id : 557858210
4444 reactions : |
@@ -73,7 +73,7 @@ Note that in order to read the step output the action step must have an id.
7373
7474` ` ` yml
7575 - name: Create comment
76- uses: peter-evans/create-or-update-comment@v3
76+ uses: peter-evans/create-or-update-comment@v4
7777 id: couc
7878 with:
7979 issue-number: 1
9898 runs-on: ubuntu-latest
9999 steps:
100100 - name: Add reaction
101- uses: peter-evans/create-or-update-comment@v3
101+ uses: peter-evans/create-or-update-comment@v4
102102 with:
103103 comment-id: ${{ github.event.comment.id }}
104104 reactions: eyes
@@ -113,15 +113,15 @@ If the find-comment action output `comment-id` returns an empty string, a new co
113113If it returns a value, the comment already exists and the content is replaced.
114114` ` ` yml
115115 - name: Find Comment
116- uses: peter-evans/find-comment@v2
116+ uses: peter-evans/find-comment@v3
117117 id: fc
118118 with:
119119 issue-number: ${{ github.event.pull_request.number }}
120120 comment-author: 'github-actions[bot]'
121121 body-includes: Build output
122122
123123 - name: Create or update comment
124- uses: peter-evans/create-or-update-comment@v3
124+ uses: peter-evans/create-or-update-comment@v4
125125 with:
126126 comment-id: ${{ steps.fc.outputs.comment-id }}
127127 issue-number: ${{ github.event.pull_request.number }}
@@ -134,7 +134,7 @@ If it returns a value, the comment already exists and the content is replaced.
134134If required, the create and update steps can be separated for greater control.
135135` ` ` yml
136136 - name: Find Comment
137- uses: peter-evans/find-comment@v2
137+ uses: peter-evans/find-comment@v3
138138 id: fc
139139 with:
140140 issue-number: ${{ github.event.pull_request.number }}
@@ -143,7 +143,7 @@ If required, the create and update steps can be separated for greater control.
143143
144144 - name: Create comment
145145 if: steps.fc.outputs.comment-id == ''
146- uses: peter-evans/create-or-update-comment@v3
146+ uses: peter-evans/create-or-update-comment@v4
147147 with:
148148 issue-number: ${{ github.event.pull_request.number }}
149149 body: |
@@ -152,7 +152,7 @@ If required, the create and update steps can be separated for greater control.
152152
153153 - name: Update comment
154154 if: steps.fc.outputs.comment-id != ''
155- uses: peter-evans/create-or-update-comment@v3
155+ uses: peter-evans/create-or-update-comment@v4
156156 with:
157157 comment-id: ${{ steps.fc.outputs.comment-id }}
158158 body: |
@@ -164,7 +164,7 @@ If required, the create and update steps can be separated for greater control.
164164
165165` ` ` yml
166166 - name: Create comment
167- uses: peter-evans/create-or-update-comment@v3
167+ uses: peter-evans/create-or-update-comment@v4
168168 with:
169169 issue-number: 1
170170 body-path: 'comment-body.md'
@@ -190,7 +190,7 @@ The template is rendered using the [render-template](https://github.com/chuhlomi
190190 bar: that
191191
192192 - name: Create comment
193- uses: peter-evans/create-or-update-comment@v3
193+ uses: peter-evans/create-or-update-comment@v4
194194 with:
195195 issue-number: 1
196196 body: ${{ steps.template.outputs.result }}
0 commit comments