Fixed bug reading username

```
fatal: could not read Username for 'github.com': No such device or address
```
This commit is contained in:
Tonye Jack 2021-05-06 08:44:56 -04:00 committed by GitHub
parent a5b0000bd1
commit 7852058eee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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..."