From df8698c999dd72a46a62b8421c1d20eaba363488 Mon Sep 17 00:00:00 2001 From: "Benjamin E. Coe" Date: Wed, 17 Feb 2021 21:33:02 -0800 Subject: [PATCH] fix(config): packageName is optional (#239) --- action.yml | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index c47dc73..aed2ce5 100644 --- a/action.yml +++ b/action.yml @@ -16,7 +16,7 @@ inputs: default: true package-name: description: 'name of the distributions releases are being created for, e.g., "name" in package.json, or "setup.py"' - required: true + required: false release-type: description: 'what type of release is this, one of (ruby, python, node, terraform-module)' required: true diff --git a/index.js b/index.js index b8cd7b3..87bed07 100644 --- a/index.js +++ b/index.js @@ -17,7 +17,7 @@ function getBooleanInput (input) { async function main () { const bumpMinorPreMajor = getBooleanInput('bump-minor-pre-major') const monorepoTags = getBooleanInput('monorepo-tags') - const packageName = core.getInput('package-name', { required: true }) + const packageName = core.getInput('package-name') const path = core.getInput('path') || undefined const releaseType = core.getInput('release-type', { required: true }) const token = core.getInput('token', { required: true })