chore: expose internal files-separator input (#346)
This commit is contained in:
parent
b06e69da6c
commit
830658002d
@ -127,6 +127,7 @@ Support this project with a :star:
|
||||
| token | `string` | `false` | `${{ github.token }}` | [GITHUB\_TOKEN](https://docs.github.com/en/free-pro-team@latest/actions/reference/authentication-in-a-workflow#using-the-github_token-in-a-workflow) <br /> or a repo scoped <br /> [Personal Access Token](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token) |
|
||||
| separator | `string` | `true` | `' '` | Output string separator |
|
||||
| files | `string` OR `string[]` | `false` | | Check for changes <br> using only these <br> list of file(s) <br> (Defaults to the <br> entire repo) |
|
||||
| files-separator | string | false | `"\n"` | Separator used to split the<br>files input |
|
||||
| base\_sha | `string` | `false` | | Specify a different <br> base commit SHA <br> used for <br> comparing changes |
|
||||
| sha | `string` | `true` | `${{ github.sha }}` | Specify a different <br> commit SHA <br> used for <br> comparing changes |
|
||||
| files\_from\_source\_file | `string` | `false` | | Source file <br> used to populate <br> the files input |
|
||||
|
@ -19,6 +19,10 @@ inputs:
|
||||
description: 'Check for changes using only this list of files (Defaults to the entire repo)'
|
||||
required: false
|
||||
default: ""
|
||||
files-separator:
|
||||
description: 'Separator used to split the files input'
|
||||
default: "\n"
|
||||
required: false
|
||||
sha:
|
||||
description: 'Specify a current commit SHA used for comparing changes'
|
||||
required: true
|
||||
@ -117,7 +121,7 @@ runs:
|
||||
id: glob
|
||||
with:
|
||||
files: ${{ inputs.files }}
|
||||
files-separator: " "
|
||||
files-separator: ${{ inputs.files-separator }}
|
||||
files-from-source-file: ${{ inputs.files_from_source_file }}
|
||||
separator: "|"
|
||||
- run: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user