Skip to content

Commit

Permalink
Fixed bug reading username
Browse files Browse the repository at this point in the history
```
fatal: could not read Username for 'github.com': No such device or address
```
  • Loading branch information
jackton1 committed May 6, 2021
1 parent a5b0000 commit 7852058
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions action.yml
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}"
Expand Down

0 comments on commit 7852058

Please sign in to comment.