From 47211c97b5808d3e50a27b6696936326cd83df2b Mon Sep 17 00:00:00 2001 From: Alex Bowers Date: Thu, 10 Aug 2023 11:10:11 +0100 Subject: [PATCH] "Allow Empty Branches" config options --- action.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/action.yml b/action.yml index 30d8e28..e54e975 100644 --- a/action.yml +++ b/action.yml @@ -54,6 +54,12 @@ inputs: [Optional] create target branch if not exist. Defaults to `false` default: false required: false + allow-empty-branches: + type: boolean + description: >- + [Optional] allow empty branches to be pushed. Defaults to `true` + default: true + required: false runs: using: docker @@ -71,6 +77,7 @@ runs: - '${{ inputs.commit-message }}' - '${{ inputs.target-directory }}' - '${{ inputs.create-target-branch-if-needed }}' + - '${{ inputs.allow-empty-branches }}' branding: icon: git-commit color: green