From b440628d56b690a1894da63b13b7e39247fd3d16 Mon Sep 17 00:00:00 2001 From: Marc Simon Date: Tue, 20 Feb 2024 18:23:44 +0000 Subject: [PATCH] Fix Issue #8 --- dist/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 43372d3..9bd76bd 100644 --- a/dist/index.js +++ b/dist/index.js @@ -9824,7 +9824,8 @@ const run = async () => { const iterationType = core.getInput('iteration'); // last or current const newiterationType = core.getInput('new-iteration'); // current or next const statuses = core.getInput('statuses').split(','); - const excludedStatuses = core.getInput('excluded-statuses').split(','); + const coreExclusedStatuses = core.getInput('excluded-statuses'); + const excludedStatuses = coreExclusedStatuses ? coreExclusedStatuses.split(',') : []; const project = new GitHubProject({ owner, number, token, fields: { iteration: iterationField } });