Skip to content

Commit 0e95268

Browse files
committed
no-push
1 parent aa57753 commit 0e95268

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ steps:
2727
dir-path: .\Taromati2 # default is .
2828
# ghost_dir(for ghost & each shell) or other(only for a dir)
2929
build-mode: ghost_dir # default is ghost_dir
30+
# no push will be performed if this value is true
31+
# no-push: # optional, default is flase
3032
#
3133
# commit-message: # optional, default is 'md5 fix~'
3234
#

action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ inputs:
2222
committer-name:
2323
default: 'Taromati2'
2424
required: false
25+
no-push:
26+
description: 'no push will be performed if this value is true'
27+
default: false
28+
required: false
2529
runs:
2630
using: "composite"
2731
steps:
@@ -31,6 +35,7 @@ runs:
3135
git add -A
3236
shell: cmd
3337
- id: commit
38+
if: ${{ inputs.no-push == 'false' }}
3439
uses: actions-go/push@master
3540
with:
3641
author-email: ${{ inputs.committer-email }}

0 commit comments

Comments
 (0)