Skip to content

Commit

Permalink
"state", not "status"
Browse files Browse the repository at this point in the history
And log which ones have been closed. Mostly for debugging purposes but still useful!
  • Loading branch information
mxie authored Apr 25, 2020
1 parent 9617629 commit 559d558
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
}
Expand Down

0 comments on commit 559d558

Please # to comment.