From 6a91bf400512295135829a237576100a7851c060 Mon Sep 17 00:00:00 2001 From: peter-evans Date: Mon, 28 Nov 2022 04:55:17 +0000 Subject: [PATCH] [CI] test built --- 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..acda507 --- /dev/null +++ b/report.txt @@ -0,0 +1 @@ +1669611316