From f342c95aa2b4b4304146fac79ecb267525e475cd Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Sat, 9 May 2020 12:44:07 +0200 Subject: [PATCH] Use github.head_ref as branch default value --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index ab0ed98..7ec2100 100644 --- a/action.yml +++ b/action.yml @@ -10,7 +10,7 @@ inputs: branch: description: Git branch name, where changes should be pushed too. Required if Action is used on the `pull_request` event required: false - default: '' + default: ${{ github.head_ref }} commit_options: description: Commit options (eg. --no-verify) required: false