1
1
mirror of https://github.com/goreleaser/nfpm synced 2024-11-18 23:14:12 +01:00

chore(ci): fix octokit api

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
This commit is contained in:
Carlos A Becker 2021-12-06 09:20:26 -03:00
parent 3829b50896
commit 30f3459380
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

@ -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,