test
This commit is contained in:
parent
16e0059bfd
commit
104ed4074c
1 changed files with 6 additions and 2 deletions
8
dist/index.js
vendored
8
dist/index.js
vendored
|
@ -1306,7 +1306,11 @@ class GitHubHelper {
|
|||
// Try to create the pull request
|
||||
try {
|
||||
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`);
|
||||
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(`Testing2`);
|
||||
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})`);
|
||||
return {
|
||||
number: pull.number,
|
||||
|
@ -36020,4 +36024,4 @@ function validateConcurrency(concurrency) {
|
|||
/******/ module.exports = __webpack_exports__;
|
||||
/******/
|
||||
/******/ })()
|
||||
;
|
||||
;
|
||||
|
|
Loading…
Reference in a new issue