Use github.head_ref as branch default value

This commit is contained in:
Stefan Zweifel 2020-05-09 12:44:07 +02:00
parent 6ef5688e81
commit f342c95aa2

View File

@ -10,7 +10,7 @@ inputs:
branch: branch:
description: Git branch name, where changes should be pushed too. Required if Action is used on the `pull_request` event description: Git branch name, where changes should be pushed too. Required if Action is used on the `pull_request` event
required: false required: false
default: '' default: ${{ github.head_ref }}
commit_options: commit_options:
description: Commit options (eg. --no-verify) description: Commit options (eg. --no-verify)
required: false required: false