From ed8c9f5217f4f759142cc4f425583a5530aa3370 Mon Sep 17 00:00:00 2001 From: Diego Henrique Pagani Date: Mon, 4 Jul 2022 11:42:07 -0300 Subject: [PATCH] fix: remove prefix from git-branch parameter --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 78e86e0..8fae086 100644 --- a/src/index.js +++ b/src/index.js @@ -29,7 +29,7 @@ async function run() { const gitUserName = core.getInput('git-user-name') const gitUserEmail = core.getInput('git-user-email') const gitPush = core.getBooleanInput('git-push') - const gitBranch = core.getInput('git-branch') + const gitBranch = core.getInput('git-branch').replace('refs/heads/', '') const tagPrefix = core.getInput('tag-prefix') const preset = !core.getInput('config-file-path') ? core.getInput('preset') : '' const preCommitFile = core.getInput('pre-commit')