Commit c74fd29 1 parent 942ee42 commit c74fd29 Copy full SHA for c74fd29
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 67
67
with :
68
68
github-token : ${{github.token}}
69
69
script : |
70
- github.issues.createComment({
70
+ github.rest. issues.createComment({
71
71
issue_number: ${{ github.event.number }},
72
72
owner: context.repo.owner,
73
73
repo: context.repo.repo,
Original file line number Diff line number Diff line change 76
76
github-token : ${{github.token}}
77
77
script : |
78
78
const errMsg = '@${{ github.event.comment.user.login }} Ephemeral environment creation is currently limited to committers.'
79
- github.issues.createComment({
79
+ github.rest. issues.createComment({
80
80
issue_number: ${{ github.event.issue.number }},
81
81
owner: context.repo.owner,
82
82
repo: context.repo.repo,
@@ -100,7 +100,7 @@ jobs:
100
100
pull_number: ${{ github.event.issue.number }},
101
101
}
102
102
core.info(`Getting PR #${request.pull_number} from ${request.owner}/${request.repo}`)
103
- const pr = await github.pulls.get(request);
103
+ const pr = await github.rest. pulls.get(request);
104
104
return pr.data;
105
105
106
106
- name : Debug
@@ -194,7 +194,7 @@ jobs:
194
194
github-token : ${{github.token}}
195
195
script : |
196
196
const errMsg = '@${{ github.event.comment.user.login }} Container image not yet published for this PR. Please try again when build is complete.'
197
- github.issues.createComment({
197
+ github.rest. issues.createComment({
198
198
issue_number: ${{ github.event.issue.number }},
199
199
owner: context.repo.owner,
200
200
repo: context.repo.repo,
You can’t perform that action at this time.
0 commit comments