Skip to content

Commit

Permalink
fix: use new endpoints released with actions/github v5
Browse files Browse the repository at this point in the history
  • Loading branch information
ksinb committed May 24, 2021
1 parent aa13351 commit 4706261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ async function run() {
}

const octokit = getOctokit(token);
const result = await octokit.issues.addAssignees({
const result = await octokit.rest.issues.addAssignees({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: number,
Expand Down

0 comments on commit 4706261

Please sign in to comment.