@@ -50,12 +50,12 @@ jobs:
5050
5151 # Add reaction to the comment
5252 - name : Add reaction
53- uses : peter-evans/create-or-update-comment@v2
53+ uses : peter-evans/create-or-update-comment@v4
5454 with :
5555 token : ${{ secrets.PAT }}
5656 repository : ${{ github.event.client_payload.github.payload.repository.full_name }}
5757 comment-id : ${{ github.event.client_payload.github.payload.comment.id }}
58- reaction-type : hooray
58+ reactions : hooray
5959` ` `
6060
6161### pytest
@@ -111,12 +111,12 @@ jobs:
111111
112112 # Add reaction to the comment
113113 - name : Add reaction
114- uses : peter-evans/create-or-update-comment@v2
114+ uses : peter-evans/create-or-update-comment@v4
115115 with :
116116 token : ${{ secrets.PAT }}
117117 repository : ${{ github.event.client_payload.github.payload.repository.full_name }}
118118 comment-id : ${{ github.event.client_payload.github.payload.comment.id }}
119- reaction-type : hooray
119+ reactions : hooray
120120` ` `
121121
122122## Use case: Execute command to modify a pull request branch
@@ -158,12 +158,12 @@ jobs:
158158 git push
159159
160160 - name : Add reaction
161- uses : peter-evans/create-or-update-comment@v2
161+ uses : peter-evans/create-or-update-comment@v4
162162 with :
163163 token : ${{ secrets.PAT }}
164164 repository : ${{ github.event.client_payload.github.payload.repository.full_name }}
165165 comment-id : ${{ github.event.client_payload.github.payload.comment.id }}
166- reaction-type : hooray
166+ reactions : hooray
167167` ` `
168168
169169### rebase
@@ -204,28 +204,28 @@ jobs:
204204 git push --force-with-lease
205205
206206 - name : Update comment
207- uses : peter-evans/create-or-update-comment@v2
207+ uses : peter-evans/create-or-update-comment@v4
208208 with :
209209 token : ${{ secrets.PAT }}
210210 repository : ${{ github.event.client_payload.github.payload.repository.full_name }}
211211 comment-id : ${{ github.event.client_payload.github.payload.comment.id }}
212212 body : |
213213 >Pull request successfully rebased
214- reaction-type : hooray
214+ reactions : hooray
215215
216216 notRebaseable :
217217 if : github.event.client_payload.pull_request.rebaseable != true
218218 runs-on : ubuntu-latest
219219 steps :
220220 - name : Update comment
221- uses : peter-evans/create-or-update-comment@v2
221+ uses : peter-evans/create-or-update-comment@v4
222222 with :
223223 token : ${{ secrets.PAT }}
224224 repository : ${{ github.event.client_payload.github.payload.repository.full_name }}
225225 comment-id : ${{ github.event.client_payload.github.payload.comment.id }}
226226 body : |
227227 >Pull request is not rebaseable
228- reaction-type : hooray
228+ reactions : hooray
229229` ` `
230230
231231### black
@@ -279,12 +279,12 @@ jobs:
279279 git push
280280
281281 - name : Add reaction
282- uses : peter-evans/create-or-update-comment@v2
282+ uses : peter-evans/create-or-update-comment@v4
283283 with :
284284 token : ${{ secrets.PAT }}
285285 repository : ${{ github.event.client_payload.github.payload.repository.full_name }}
286286 comment-id : ${{ github.event.client_payload.github.payload.comment.id }}
287- reaction-type : hooray
287+ reactions : hooray
288288` ` `
289289
290290## Help command
@@ -301,7 +301,7 @@ jobs:
301301 runs-on: ubuntu-latest
302302 steps:
303303 - name: Update comment
304- uses: peter-evans/create-or-update-comment@v2
304+ uses: peter-evans/create-or-update-comment@v4
305305 with:
306306 token: ${{ secrets.ACTIONS_BOT_TOKEN }}
307307 repository: ${{ github.event.client_payload.github.payload.repository.full_name }}
@@ -313,5 +313,5 @@ jobs:
313313 > /ping [\< args\> ...] | Echos back a list of arguments
314314 > /hello-world-local | Receive a greeting from the world (local execution)
315315 > /ping-local [\< args\> ...] | Echos back a list of arguments (local execution)
316- reaction-type : hooray
316+ reactions : hooray
317317` ` `
0 commit comments