File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1414 with :
1515 script : |
1616 // Get the existing comments.
17- const {data: comments} = await github.issues.listComments({
17+ const {data: comments} = await github.rest. issues.listComments({
1818 owner: context.repo.owner,
1919 repo: context.repo.repo,
2020 issue_number: context.payload.number,
@@ -28,14 +28,14 @@ jobs:
2828 console.log('Not attempting to write comment on PR from fork');
2929 } else {
3030 if (botComment) {
31- await github.issues.updateComment({
31+ await github.rest. issues.updateComment({
3232 owner: context.repo.owner,
3333 repo: context.repo.repo,
3434 comment_id: botComment.id,
3535 body: commentBody
3636 })
3737 } else {
38- await github.issues.createComment({
38+ await github.rest. issues.createComment({
3939 owner: context.repo.owner,
4040 repo: context.repo.repo,
4141 issue_number: context.payload.number,
You can’t perform that action at this time.
0 commit comments