Update clone/action.yaml
This commit is contained in:
parent
f1be8c6654
commit
53a08ebc12
@ -7,8 +7,6 @@ inputs:
|
||||
required: false
|
||||
description: Repository URL that will be cloned
|
||||
default: ${{github.server_url}}/${{github.repository}}.git
|
||||
|
||||
secrets:
|
||||
token:
|
||||
type: string
|
||||
required: false
|
||||
@ -19,7 +17,7 @@ runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Creat authorized Git URL
|
||||
run: echo "URL=$(echo ${{inputs.url}} | sed s%://%://${{secrets.token}}@% )" >> $GITHUB_ENV
|
||||
run: echo "URL=$(echo ${{inputs.url}} | sed s%://%://${{inputs.token}}@% )" >> $GITHUB_ENV
|
||||
shell: sh
|
||||
- name: Clone repository
|
||||
uses: docker://alpine/git
|
||||
|
Loading…
Reference in New Issue
Block a user