"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` [Optional] create target branch if not exist. Defaults to `false`
default: false default: false
required: false required: false
allow-empty-branches:
type: boolean
description: >-
[Optional] allow empty branches to be pushed. Defaults to `true`
default: true
required: false
runs: runs:
using: docker using: docker
@ -71,6 +77,7 @@ runs:
- '${{ inputs.commit-message }}' - '${{ inputs.commit-message }}'
- '${{ inputs.target-directory }}' - '${{ inputs.target-directory }}'
- '${{ inputs.create-target-branch-if-needed }}' - '${{ inputs.create-target-branch-if-needed }}'
- '${{ inputs.allow-empty-branches }}'
branding: branding:
icon: git-commit icon: git-commit
color: green color: green