From b197c5ff8ca7d59ef3cefb8228cdea5ffe686c0c Mon Sep 17 00:00:00 2001
From: Stefan Zweifel <hello@stefanzweifel.io>
Date: Wed, 5 Feb 2020 21:12:20 +0100
Subject: [PATCH] Set default value for branch

---
 action.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/action.yml b/action.yml
index c5c0b53..f02f682 100644
--- a/action.yml
+++ b/action.yml
@@ -9,7 +9,8 @@ inputs:
     required: true
   branch:
     description: Git branch name, where changes should be pushed too.
-    required: true
+    required: false
+    default: ${GITHUB_REF:11}
   commit_options:
     description: Commit options (eg. --no-verify)
     required: false