Skip to content

Commit 17893a4

Browse files
committed
feat: add localfile input params.
1 parent 46e19c1 commit 17893a4

File tree

5 files changed

+2825
-22
lines changed

5 files changed

+2825
-22
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ Specify the **branch** to read the file content
3333
## Inputs
3434
3535
- `path` File path. E.g: `src/index.ts`
36-
- `branch` the branch where the file resides. Default: `${{ github.ref_name }}`, E.g: `main`, `gh-pages`
36+
- `branch` The branch where the file resides. Default: `${{ github.ref_name }}`, E.g: `main`, `gh-pages`
37+
- `localfile` Local File path. E.g: `src/index.ts`
3738

3839
## Outputs
3940

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ inputs:
1010
description: 'File to be replaced'
1111
default: ''
1212
required: false
13+
localfile:
14+
description: 'Local File path'
15+
default: ''
16+
required: false
1317
branch:
1418
description: 'The person that committed the file. Default: the authenticated user.'
1519
default: ${{ github.ref_name }}

0 commit comments

Comments
 (0)