From 00e310993c71c24273eadd9ccfe42c12908cb020 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Fri, 19 Mar 2021 09:55:45 +0100 Subject: [PATCH] Ignore commas for label-custom input (#48) Co-authored-by: CrazyMax --- dist/index.js | 2 +- src/context.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 8450185..dc198f1 100644 --- a/dist/index.js +++ b/dist/index.js @@ -66,7 +66,7 @@ function getInputs() { tagSchedule: core.getInput('tag-schedule') || 'nightly', tagCustom: getInputList('tag-custom'), tagCustomOnly: /true/i.test(core.getInput('tag-custom-only') || 'false'), - labelCustom: getInputList('label-custom'), + labelCustom: getInputList('label-custom', true), sepTags: core.getInput('sep-tags') || `\n`, sepLabels: core.getInput('sep-labels') || `\n`, githubToken: core.getInput('github-token') diff --git a/src/context.ts b/src/context.ts index 3b55c16..acf8cac 100644 --- a/src/context.ts +++ b/src/context.ts @@ -44,7 +44,7 @@ export function getInputs(): Inputs { tagSchedule: core.getInput('tag-schedule') || 'nightly', tagCustom: getInputList('tag-custom'), tagCustomOnly: /true/i.test(core.getInput('tag-custom-only') || 'false'), - labelCustom: getInputList('label-custom'), + labelCustom: getInputList('label-custom', true), sepTags: core.getInput('sep-tags') || `\n`, sepLabels: core.getInput('sep-labels') || `\n`, githubToken: core.getInput('github-token')