From 80985fc475a01e84fe82cab48437c59daa46093d Mon Sep 17 00:00:00 2001 From: Bilge Date: Sat, 13 Jun 2020 12:51:35 +0100 Subject: [PATCH] Changed release name to be optional field --- src/create-release.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/create-release.js b/src/create-release.js index fe8b6bb7..8be62e04 100644 --- a/src/create-release.js +++ b/src/create-release.js @@ -14,7 +14,7 @@ async function run() { // This removes the 'refs/tags' portion of the string, i.e. from 'refs/tags/v1.10.15' to 'v1.10.15' const tag = tagName.replace('refs/tags/', ''); - const releaseName = core.getInput('release_name', { required: true }).replace('refs/tags/', ''); + const releaseName = core.getInput('release_name', { required: false }).replace('refs/tags/', ''); const body = core.getInput('body', { required: false }); const draft = core.getInput('draft', { required: false }) === 'true'; const prerelease = core.getInput('prerelease', { required: false }) === 'true';