Skip to content

Commit

Permalink
✨ Add commit_branch input
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Feb 23, 2023
1 parent 9a1824e commit 58d71ae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ inputs:
commit_message:
description: If set, this action will invoke stefanzweifel/git-auto-commit-action with the given commit message.
default: ""
commit_branch:
description: Git branch name, where changes should be pushed too. Required if Action is used on the `pull_request` event
required: false
default: ${{ github.head_ref }}
go_version:
description: Go version used to install Yampl
# renovate datasource=docker depName=golang
Expand Down Expand Up @@ -41,3 +45,4 @@ runs:
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: ${{ inputs.commit_message }}
branch: ${{ inputs.commit_branch }}

0 comments on commit 58d71ae

Please sign in to comment.