Implement path parameter (#168)
* Implement path parameter * Add test * Update README.md * Corrections after code review * Update action.yml * Update test.yml * Do not use realpath * Update entrypoint.sh * Update test.yml Co-authored-by: Ivan Pizhenko <IvanPizhenko@users.noreply.github.com> Co-authored-by: Tonye Jack <jtonye@ymail.com>
This commit is contained in:
@@ -25,6 +25,9 @@ inputs:
|
||||
base_sha:
|
||||
description: 'Specify a base commit SHA on used for comparing changes'
|
||||
required: false
|
||||
path:
|
||||
description: 'Specify a relative path under $GITHUB_WORKSPACE to locate the repository'
|
||||
required: false
|
||||
|
||||
outputs:
|
||||
added_files:
|
||||
@@ -100,6 +103,7 @@ runs:
|
||||
INPUT_TOKEN: ${{ inputs.token }}
|
||||
INPUT_FILES: ${{ join(format('{0} {1}', inputs.files, steps.source-input-files.outputs.files), ' ') }}
|
||||
INPUT_SEPARATOR: ${{ inputs.separator }}
|
||||
INPUT_PATH: ${{ inputs.path }}
|
||||
|
||||
branding:
|
||||
icon: file-text
|
||||
|
||||
Reference in New Issue
Block a user