diff --git a/.github/workflows/milestone.yml b/.github/workflows/milestone.yml index 60bdbcd..7c46223 100644 --- a/.github/workflows/milestone.yml +++ b/.github/workflows/milestone.yml @@ -38,7 +38,7 @@ jobs: return; } - milestones = await github.issues.listMilestones({ + milestones = await github.rest.issues.listMilestones({ owner: context.repo.owner, repo: context.repo.repo, state: 'open', @@ -50,7 +50,7 @@ jobs: return; } - await github.issues.update({ + await github.rest.issues.update({ owner: context.repo.owner, repo: context.repo.repo, issue_number: context.payload.pull_request.number,