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