A github command that comments in github issues.
Type: object literal
Type: string
Type: string
Type: array
An array of object literals where each object is an issue number and the comment body.
鈩癸笍 聽 GithubHttpCommand options are also applicable.
const { GithubCreateIssueCommentsCommand } = require("@abstracter/atomic-release/commands");
const command = new GithubCreateIssueCommentsCommand({
owner: "abstracter-io",
repo: "atomic-release",
issueComments: [
{ issueNumber: 1, commentBody: "Commenting in issue number 1 馃コ" },
{ issueNumber: 1, commentBody: "**Another message in issue #1**" },
{ issueNumber: 2, commentBody: "Some other issue" },
],
headers: {
Authorization: "token PERSONAL-ACCESS-TOKEN",
},
});