From 5415c7987686df592a4568276c34b7624db13fad Mon Sep 17 00:00:00 2001 From: peter-evans Date: Tue, 22 Mar 2022 03:17:22 +0000 Subject: [PATCH] [CI] test committed --- action.yml | 2 +- dist/index.js | 6 +++--- report.txt | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 report.txt diff --git a/action.yml b/action.yml index 60e3ade..09290a8 100644 --- a/action.yml +++ b/action.yml @@ -81,7 +81,7 @@ outputs: pull-request-head-sha: description: 'The commit SHA of the pull request branch.' runs: - using: 'node12' + using: 'node16' main: 'dist/index.js' branding: icon: 'git-pull-request' diff --git a/dist/index.js b/dist/index.js index f4a2a38..6144a21 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1085,9 +1085,9 @@ function run() { commitMessage: core.getInput('commit-message'), committer: core.getInput('committer'), author: core.getInput('author'), - signoff: core.getInput('signoff') === 'true', + signoff: core.getBooleanInput('signoff'), branch: core.getInput('branch'), - deleteBranch: core.getInput('delete-branch') === 'true', + deleteBranch: core.getBooleanInput('delete-branch'), branchSuffix: core.getInput('branch-suffix'), base: core.getInput('base'), pushToFork: core.getInput('push-to-fork'), @@ -1098,7 +1098,7 @@ function run() { reviewers: utils.getInputAsArray('reviewers'), teamReviewers: utils.getInputAsArray('team-reviewers'), milestone: Number(core.getInput('milestone')), - draft: core.getInput('draft') === 'true' + draft: core.getBooleanInput('draft') }; core.debug(`Inputs: ${(0, util_1.inspect)(inputs)}`); yield (0, create_pull_request_1.createPullRequest)(inputs); diff --git a/report.txt b/report.txt new file mode 100644 index 0000000..b0bc2a0 --- /dev/null +++ b/report.txt @@ -0,0 +1 @@ +1647919041