Fixed bug reading username
``` fatal: could not read Username for 'github.com': No such device or address ```
This commit is contained in:
parent
a5b0000bd1
commit
7852058eee
@ -2,6 +2,10 @@ name: Changed files
|
|||||||
description: Get all changed files
|
description: Get all changed files
|
||||||
author: tj-actions
|
author: tj-actions
|
||||||
inputs:
|
inputs:
|
||||||
|
token:
|
||||||
|
description: 'Github token'
|
||||||
|
required: true
|
||||||
|
default: ${{ github.token }}
|
||||||
separator:
|
separator:
|
||||||
description: 'Split character for array output'
|
description: 'Split character for array output'
|
||||||
required: true
|
required: true
|
||||||
@ -56,6 +60,8 @@ runs:
|
|||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
git remote set-url origin "https://${{ inputs.token }}@github.com/${{ github.repository }}"
|
||||||
|
|
||||||
export INPUT_FILES="${{ inputs.files }}"
|
export INPUT_FILES="${{ inputs.files }}"
|
||||||
export INPUT_SEPARATOR="${{ inputs.separator }}"
|
export INPUT_SEPARATOR="${{ inputs.separator }}"
|
||||||
echo "Getting head sha..."
|
echo "Getting head sha..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user