Skip to content

Commit

Permalink
Update comment-issue.js
Browse files Browse the repository at this point in the history
  • Loading branch information
t-will-gillis authored Oct 29, 2023
1 parent 43fd92e commit fafccae
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ const commentOnIssue = async (agendaAndNotesIssueNumber, newIssueNumber) => {
};

// Add a comment on the issue to automatically close it
const commentToCloseIssue = async (newIssueNumber) => {
const owner = "t-will-gillis";
const repo = "website";
await github.rest.issues.createComment({
owner,
repo,
issue_number: newIssueNumber,
body: `Close #${newIssueNumber}`,
});
};
// const commentToCloseIssue = async (newIssueNumber) => {
// const owner = "t-will-gillis";
// const repo = "website";
// await github.rest.issues.createComment({
// owner,
// repo,
// issue_number: newIssueNumber,
// body: `Close #${newIssueNumber}`,
// });
// };


module.exports = main;

0 comments on commit fafccae

Please sign in to comment.