File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ branding:
7
7
inputs :
8
8
manifest_url :
9
9
description : ' Specifies the url or git repo to fetch the manifest from. Used in repo init'
10
- required : true
10
+ required : false
11
11
default : https://github.com/${{ github.repository_owner }}/manifests
12
12
manifest_branch :
13
13
description : ' Specifies what manifest branch to use. Used in repo init'
@@ -17,6 +17,13 @@ inputs:
17
17
description : ' Specifies the name of the manifest file to find. Used in repo init'
18
18
required : false
19
19
default : default.xml
20
+ username :
21
+ description : ' The username to use when authenticating to the manifest server'
22
+ required : false
23
+ default : ${{ github.actor }}
24
+ password :
25
+ description : ' The password or token to use when authenticating while fetching the manifest and git fetching repositories'
26
+ required : true
20
27
runs :
21
28
using : " composite"
22
29
steps :
31
38
run : ~/.bin/repo init -u ${{ inputs.manifest_url }} -b ${{ inputs.manifest_branch }} -m ${{ inputs.manifest_filename }}
32
39
- name : Sync repos
33
40
shell : bash
34
- run : ~/.bin/repo sync
41
+ run : ~/.bin/repo sync -u ${{ inputs.username }} -p ${{ inputs.password }}
You can’t perform that action at this time.
0 commit comments