Skip to content

Commit 451cc55

Browse files
authored
Merge pull request #32 from jgillis/master
Add possibility to pass command line arguments to git-restore-mtime script
2 parents bca85c1 + b4ea0a1 commit 451cc55

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ inputs:
66
description: "Where to run the action"
77
required: false
88
default: '.'
9+
args:
10+
description: "Command line arguments to pass to git-restore-mtime"
11+
required: false
12+
default: ''
913
branding:
1014
icon: 'clock'
1115
color: 'orange'
@@ -14,4 +18,4 @@ runs:
1418
steps:
1519
- shell: bash
1620
run: |
17-
cd "${{ inputs.working-directory }}" && "$GITHUB_ACTION_PATH"/git-restore-mtime
21+
cd "${{ inputs.working-directory }}" && "$GITHUB_ACTION_PATH"/git-restore-mtime ${{ inputs.args }}

0 commit comments

Comments
 (0)