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