mirror of
https://github.com/cpina/github-action-push-to-another-repository.git
synced 2025-01-10 09:09:00 -07: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`
|
[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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user