From 682e061a829596f87cd118c89d60ad9fa0876918 Mon Sep 17 00:00:00 2001 From: peter-evans Date: Mon, 28 Nov 2022 04:55:15 +0000 Subject: [PATCH] [CI] test committed --- dist/index.js | 3 +++ report.txt | 1 + 2 files changed, 4 insertions(+) create mode 100644 report.txt diff --git a/dist/index.js b/dist/index.js index aff221f..01dfa96 100644 --- a/dist/index.js +++ b/dist/index.js @@ -311,6 +311,9 @@ function createPullRequest(inputs) { return __awaiter(this, void 0, void 0, function* () { let gitAuthHelper; try { + if (!inputs.token) { + throw new Error(`Input 'token' not supplied. Unable to continue.`); + } // Get the repository path const repoPath = utils.getRepoPath(inputs.path); // Create a git command manager diff --git a/report.txt b/report.txt new file mode 100644 index 0000000..d89065b --- /dev/null +++ b/report.txt @@ -0,0 +1 @@ +1669611314