@@ -42,14 +42,14 @@ jobs:
4242 const repo = context.payload.repository.name;
4343 const comment_id = context.payload.comment.id;
4444
45- github.reactions.createForIssueComment({
45+ github.rest. reactions.createForIssueComment({
4646 owner,
4747 repo,
4848 comment_id,
4949 content: '+1'
5050 });
5151
52- const { data: pull_request } = await github.pulls.get({
52+ const { data: pull_request } = await github.rest. pulls.get({
5353 owner,
5454 repo,
5555 pull_number: context.payload.issue.number,
@@ -131,7 +131,7 @@ jobs:
131131 const comment_id = context.payload.comment.id;
132132 const requestor = context.payload.comment.user.login;
133133
134- github.reactions.createForIssueComment({
134+ github.rest. reactions.createForIssueComment({
135135 owner,
136136 repo,
137137 comment_id,
@@ -142,7 +142,7 @@ jobs:
142142 const body = `@${requestor} here is your requested Storybook deployment:\n\n` +
143143 `:rocket: [${url}](${url})`
144144
145- await github.issues.createComment({
145+ await github.rest. issues.createComment({
146146 owner,
147147 repo,
148148 issue_number: process.env.GITHUB_PR,
@@ -162,14 +162,14 @@ jobs:
162162 const comment_id = context.payload.comment.id;
163163 const requestor = context.payload.comment.user.login;
164164
165- github.reactions.createForIssueComment({
165+ github.rest. reactions.createForIssueComment({
166166 owner,
167167 repo,
168168 comment_id,
169169 content: 'eyes'
170170 });
171171
172- const { data: run } = await github.actions.getWorkflowRun({
172+ const { data: run } = await github.rest. actions.getWorkflowRun({
173173 owner,
174174 repo,
175175 run_id: process.env.GITHUB_RUN_ID,
@@ -179,7 +179,7 @@ jobs:
179179 `@${requestor} deploy action failed, please see `+
180180 `[the workflow run details](${run.html_url}) for more information.`;
181181
182- await github.issues.createComment({
182+ await github.rest. issues.createComment({
183183 owner,
184184 repo,
185185 issue_number: process.env.GITHUB_PR,
0 commit comments