A command that created a pull request using GitHub API.
Type: object literal
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
ℹ️ GithubHttpCommand options are also applicable.
const { Commands } = require("@abstracter/atomic-release");
const command = new Commands.GithubCreatePullRequestCommand({
head: "v123-generated-files",
base: "main",
repo: "atomic-release",
owner: "abstracter-io",
title: "🤖 Adding v23 generated files",
body: "**Take me to your leader**."
headers: {
Authorization: "token PERSONAL-ACCESS-TOKEN",
},
});