3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2024-12-17 03:47:20 +00:00

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
author: tj-actions
inputs:
token:
description: 'Github token'
required: true
default: ${{ github.token }}
separator:
description: 'Split character for array output'
required: true
@ -55,6 +59,8 @@ runs:
- id: changed_files
run: |
set -e
git remote set-url origin "https://${{ inputs.token }}@github.com/${{ github.repository }}"
export INPUT_FILES="${{ inputs.files }}"
export INPUT_SEPARATOR="${{ inputs.separator }}"