mirror of
https://github.com/cpina/github-action-push-to-another-repository.git
synced 2025-09-03 15:35:45 -06:00
"Allow Empty Branches" config options
This commit is contained in:
parent
07c4d7b3de
commit
47211c97b5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user