Skip to content

Commit df8698c

Browse files
author
Benjamin E. Coe
authored
fix(config): packageName is optional (#239)
1 parent 76ee919 commit df8698c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ inputs:
1616
default: true
1717
package-name:
1818
description: 'name of the distributions releases are being created for, e.g., "name" in package.json, or "setup.py"'
19-
required: true
19+
required: false
2020
release-type:
2121
description: 'what type of release is this, one of (ruby, python, node, terraform-module)'
2222
required: true

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function getBooleanInput (input) {
1717
async function main () {
1818
const bumpMinorPreMajor = getBooleanInput('bump-minor-pre-major')
1919
const monorepoTags = getBooleanInput('monorepo-tags')
20-
const packageName = core.getInput('package-name', { required: true })
20+
const packageName = core.getInput('package-name')
2121
const path = core.getInput('path') || undefined
2222
const releaseType = core.getInput('release-type', { required: true })
2323
const token = core.getInput('token', { required: true })

0 commit comments

Comments
 (0)