test
This commit is contained in:
parent
16e0059bfd
commit
8f3a88e52b
1 changed files with 7 additions and 2 deletions
7
dist/index.js
vendored
7
dist/index.js
vendored
|
@ -1306,7 +1306,12 @@ class GitHubHelper {
|
||||||
// Try to create the pull request
|
// Try to create the pull request
|
||||||
try {
|
try {
|
||||||
core.info(`Attempting creation of pull request`);
|
core.info(`Attempting creation of pull request`);
|
||||||
const { data: pull } = yield this.octokit.rest.pulls.create(Object.assign(Object.assign({}, this.parseRepository(baseRepository)), { title: inputs.title, head: headBranch, head_repo: headRepository, base: inputs.base, body: inputs.body, draft: inputs.draft.value, maintainer_can_modify: inputs.maintainerCanModify }));
|
core.info(`Testing`);
|
||||||
|
core.info(`Testing1`);
|
||||||
|
const test = { title: inputs.title, head: headBranch, head_repo: headRepository, base: inputs.base, body: inputs.body, draft: inputs.draft.value, maintainer_can_modify: inputs.maintainerCanModify }
|
||||||
|
core.info(`Testing22`);
|
||||||
|
const { data: pull } = yield this.octokit.rest.pulls.create(Object.assign(Object.assign({}, this.parseRepository(baseRepository)), test));
|
||||||
|
core.info(`Testing3`);
|
||||||
core.info(`Created pull request #${pull.number} (${headBranch} => ${inputs.base})`);
|
core.info(`Created pull request #${pull.number} (${headBranch} => ${inputs.base})`);
|
||||||
return {
|
return {
|
||||||
number: pull.number,
|
number: pull.number,
|
||||||
|
|
Loading…
Reference in a new issue