@@ -10,7 +10,7 @@ A GitHub action to create or update an issue or pull request comment.
10
10
11
11
``` yml
12
12
- name : Create comment
13
- uses : peter-evans/create-or-update-comment@v3
13
+ uses : peter-evans/create-or-update-comment@v4
14
14
with :
15
15
issue-number : 1
16
16
body : |
@@ -26,7 +26,7 @@ A GitHub action to create or update an issue or pull request comment.
26
26
27
27
` ` ` yml
28
28
- name : Update comment
29
- uses : peter-evans/create-or-update-comment@v3
29
+ uses : peter-evans/create-or-update-comment@v4
30
30
with :
31
31
comment-id : 557858210
32
32
body : |
@@ -38,7 +38,7 @@ A GitHub action to create or update an issue or pull request comment.
38
38
39
39
` ` ` yml
40
40
- name : Add reactions
41
- uses : peter-evans/create-or-update-comment@v3
41
+ uses : peter-evans/create-or-update-comment@v4
42
42
with :
43
43
comment-id : 557858210
44
44
reactions : |
@@ -73,7 +73,7 @@ Note that in order to read the step output the action step must have an id.
73
73
74
74
` ` ` yml
75
75
- name: Create comment
76
- uses: peter-evans/create-or-update-comment@v3
76
+ uses: peter-evans/create-or-update-comment@v4
77
77
id: couc
78
78
with:
79
79
issue-number: 1
98
98
runs-on: ubuntu-latest
99
99
steps:
100
100
- name: Add reaction
101
- uses: peter-evans/create-or-update-comment@v3
101
+ uses: peter-evans/create-or-update-comment@v4
102
102
with:
103
103
comment-id: ${{ github.event.comment.id }}
104
104
reactions: eyes
@@ -113,15 +113,15 @@ If the find-comment action output `comment-id` returns an empty string, a new co
113
113
If it returns a value, the comment already exists and the content is replaced.
114
114
` ` ` yml
115
115
- name: Find Comment
116
- uses: peter-evans/find-comment@v2
116
+ uses: peter-evans/find-comment@v3
117
117
id: fc
118
118
with:
119
119
issue-number: ${{ github.event.pull_request.number }}
120
120
comment-author: 'github-actions[bot]'
121
121
body-includes: Build output
122
122
123
123
- name: Create or update comment
124
- uses: peter-evans/create-or-update-comment@v3
124
+ uses: peter-evans/create-or-update-comment@v4
125
125
with:
126
126
comment-id: ${{ steps.fc.outputs.comment-id }}
127
127
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.
134
134
If required, the create and update steps can be separated for greater control.
135
135
` ` ` yml
136
136
- name: Find Comment
137
- uses: peter-evans/find-comment@v2
137
+ uses: peter-evans/find-comment@v3
138
138
id: fc
139
139
with:
140
140
issue-number: ${{ github.event.pull_request.number }}
@@ -143,7 +143,7 @@ If required, the create and update steps can be separated for greater control.
143
143
144
144
- name: Create comment
145
145
if: steps.fc.outputs.comment-id == ''
146
- uses: peter-evans/create-or-update-comment@v3
146
+ uses: peter-evans/create-or-update-comment@v4
147
147
with:
148
148
issue-number: ${{ github.event.pull_request.number }}
149
149
body: |
@@ -152,7 +152,7 @@ If required, the create and update steps can be separated for greater control.
152
152
153
153
- name: Update comment
154
154
if: steps.fc.outputs.comment-id != ''
155
- uses: peter-evans/create-or-update-comment@v3
155
+ uses: peter-evans/create-or-update-comment@v4
156
156
with:
157
157
comment-id: ${{ steps.fc.outputs.comment-id }}
158
158
body: |
@@ -164,7 +164,7 @@ If required, the create and update steps can be separated for greater control.
164
164
165
165
` ` ` yml
166
166
- name: Create comment
167
- uses: peter-evans/create-or-update-comment@v3
167
+ uses: peter-evans/create-or-update-comment@v4
168
168
with:
169
169
issue-number: 1
170
170
body-path: 'comment-body.md'
@@ -190,7 +190,7 @@ The template is rendered using the [render-template](https://github.com/chuhlomi
190
190
bar: that
191
191
192
192
- name: Create comment
193
- uses: peter-evans/create-or-update-comment@v3
193
+ uses: peter-evans/create-or-update-comment@v4
194
194
with:
195
195
issue-number: 1
196
196
body: ${{ steps.template.outputs.result }}
0 commit comments