From b95526f857fa27ce0c682ca82f5a56382b3d534c Mon Sep 17 00:00:00 2001 From: peter-evans Date: Tue, 13 Jun 2023 07:37:24 +0000 Subject: [PATCH] [CI] test committed --- dist/index.js | 2 +- report.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 report.txt diff --git a/dist/index.js b/dist/index.js index 9cca79e..f70d6b9 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1071,7 +1071,7 @@ 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, base: inputs.base, body: inputs.body, draft: inputs.draft })); + 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 })); core.info(`Created pull request #${pull.number} (${headBranch} => ${inputs.base})`); return { number: pull.number, diff --git a/report.txt b/report.txt new file mode 100644 index 0000000..4330832 --- /dev/null +++ b/report.txt @@ -0,0 +1 @@ +1686641843