Skip to content

Commit

Permalink
feat: inputs.branch can be set to fully qualified reference name incl…
Browse files Browse the repository at this point in the history
…uding "refs/heads/" prefix
  • Loading branch information
gr2m committed Oct 4, 2019
1 parent 150b096 commit a3c7a1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async function main() {
const inputs = {
title: core.getInput("title"),
body: core.getInput("body"),
branch: core.getInput("branch"),
branch: core.getInput("branch").replace(/^refs\/heads\//, ""),
path: core.getInput("path"),
commitMessage: core.getInput("commit-message"),
author: core.getInput("author")
Expand Down

0 comments on commit a3c7a1e

Please sign in to comment.