File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 14
14
with :
15
15
script : |
16
16
// Get the existing comments.
17
- const {data: comments} = await github.issues.listComments({
17
+ const {data: comments} = await github.rest. issues.listComments({
18
18
owner: context.repo.owner,
19
19
repo: context.repo.repo,
20
20
issue_number: context.payload.number,
@@ -28,14 +28,14 @@ jobs:
28
28
console.log('Not attempting to write comment on PR from fork');
29
29
} else {
30
30
if (botComment) {
31
- await github.issues.updateComment({
31
+ await github.rest. issues.updateComment({
32
32
owner: context.repo.owner,
33
33
repo: context.repo.repo,
34
34
comment_id: botComment.id,
35
35
body: commentBody
36
36
})
37
37
} else {
38
- await github.issues.createComment({
38
+ await github.rest. issues.createComment({
39
39
owner: context.repo.owner,
40
40
repo: context.repo.repo,
41
41
issue_number: context.payload.number,
You can’t perform that action at this time.
0 commit comments