This commit is contained in:
Aaron Wentzel 2020-10-06 18:32:16 -07:00
Родитель 5797413767
Коммит 14334adae5
2 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -10,6 +10,7 @@ if (!githubPAT && (process.argv.includes("bump") || process.argv.includes("publi
);
}
// Octokit is used to access the GitHub REST API
const github = new Octokit({
...repoDetails,
...(githubPAT && { auth: "token " + githubPAT }),

Просмотреть файл

@ -4,9 +4,9 @@ import { IPullRequest, IRepoDetails } from "./types";
export interface IGetPullRequestFromCommitParams {
github: Octokit;
repoDetails: IRepoDetails;
/** Commit hash */
// Commit hash
commit: string;
/** Provide this to have it included in the resulting IPullRequest */
// Provide this to have it included in the resulting IPullRequest
authorEmail?: string;
verbose?: boolean;
}