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:
parent
a5b0000bd1
commit
7852058eee
1 changed files with 6 additions and 0 deletions
|
@ -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 }}"
|
||||
|
|
Loading…
Reference in a new issue