@@ -12,7 +12,7 @@ This action was created to help facilitate a GitHub Actions "ChatOps" solution i
1212
1313``` yml
1414 - name : Create comment
15- uses : peter-evans/create-or-update-comment@v1
15+ uses : peter-evans/create-or-update-comment@v2
1616 with :
1717 issue-number : 1
1818 body : |
@@ -28,7 +28,7 @@ This action was created to help facilitate a GitHub Actions "ChatOps" solution i
2828
2929` ` ` yml
3030 - name : Update comment
31- uses : peter-evans/create-or-update-comment@v1
31+ uses : peter-evans/create-or-update-comment@v2
3232 with :
3333 comment-id : 557858210
3434 body : |
@@ -40,7 +40,7 @@ This action was created to help facilitate a GitHub Actions "ChatOps" solution i
4040
4141` ` ` yml
4242 - name : Add reactions
43- uses : peter-evans/create-or-update-comment@v1
43+ uses : peter-evans/create-or-update-comment@v2
4444 with :
4545 comment-id : 557858210
4646 reactions : heart, hooray, laugh
@@ -69,7 +69,7 @@ Note that in order to read the step output the action step must have an id.
6969
7070` ` ` yml
7171 - name: Create comment
72- uses: peter-evans/create-or-update-comment@v1
72+ uses: peter-evans/create-or-update-comment@v2
7373 id: couc
7474 with:
7575 issue-number: 1
9494 runs-on: ubuntu-latest
9595 steps:
9696 - name: Add reaction
97- uses: peter-evans/create-or-update-comment@v1
97+ uses: peter-evans/create-or-update-comment@v2
9898 with:
9999 comment-id: ${{ github.event.comment.id }}
100100 reactions: eyes
@@ -117,7 +117,7 @@ If it returns a value, the comment already exists and the content is replaced.
117117 body-includes: Build output
118118
119119 - name: Create or update comment
120- uses: peter-evans/create-or-update-comment@v1
120+ uses: peter-evans/create-or-update-comment@v2
121121 with:
122122 comment-id: ${{ steps.fc.outputs.comment-id }}
123123 issue-number: ${{ github.event.pull_request.number }}
@@ -139,7 +139,7 @@ If required, the create and update steps can be separated for greater control.
139139
140140 - name: Create comment
141141 if: steps.fc.outputs.comment-id == ''
142- uses: peter-evans/create-or-update-comment@v1
142+ uses: peter-evans/create-or-update-comment@v2
143143 with:
144144 issue-number: ${{ github.event.pull_request.number }}
145145 body: |
@@ -148,7 +148,7 @@ If required, the create and update steps can be separated for greater control.
148148
149149 - name: Update comment
150150 if: steps.fc.outputs.comment-id != ''
151- uses: peter-evans/create-or-update-comment@v1
151+ uses: peter-evans/create-or-update-comment@v2
152152 with:
153153 comment-id: ${{ steps.fc.outputs.comment-id }}
154154 body: |
@@ -171,7 +171,7 @@ The content must be [escaped to preserve newlines](https://github.community/t/se
171171 echo "::set-output name=body::$body"
172172
173173 - name: Create comment
174- uses: peter-evans/create-or-update-comment@v1
174+ uses: peter-evans/create-or-update-comment@v2
175175 with:
176176 issue-number: 1
177177 body: ${{ steps.get-comment-body.outputs.body }}
@@ -197,7 +197,7 @@ The template is rendered using the [render-template](https://github.com/chuhlomi
197197 bar: that
198198
199199 - name: Create comment
200- uses: peter-evans/create-or-update-comment@v1
200+ uses: peter-evans/create-or-update-comment@v2
201201 with:
202202 issue-number: 1
203203 body: ${{ steps.template.outputs.result }}
0 commit comments