diff --git a/index.js b/index.js index f0683c8..0704e9d 100644 --- a/index.js +++ b/index.js @@ -33,8 +33,10 @@ async function run() { octokit.issues.update({ ...ghContext.repo, issue_number: issueNumber, - status: "closed", + state: "closed", }); + + console.log(`Closed #${issue.number}.`); issuesClosed++; }