From 104ed4074caaf485cab6593fc559b98239186716 Mon Sep 17 00:00:00 2001 From: jiriks74 Date: Sat, 14 Dec 2024 23:02:24 +0100 Subject: [PATCH] test --- dist/index.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index b555e94..72cb6f4 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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__; /******/ /******/ })() -; \ No newline at end of file +;