"Allow Empty Branches" config options

This commit is contained in:
Alex Bowers 2023-08-10 11:10:11 +01:00 committed by GitHub
parent 07c4d7b3de
commit 47211c97b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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