fix: pass a branch name to getGitAuthUrl
				
					
				
			This commit is contained in:
		
							parent
							
								
									8426b4203e
								
							
						
					
					
						commit
						e7bede1866
					
				
							
								
								
									
										2
									
								
								index.js
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								index.js
									
									
									
									
									
								
							| @ -52,7 +52,7 @@ async function run(context, plugins) { | ||||
|   // Verify config
 | ||||
|   await verify(context); | ||||
| 
 | ||||
|   options.repositoryUrl = await getGitAuthUrl(context); | ||||
|   options.repositoryUrl = await getGitAuthUrl({...context, branch: {name: ciBranch}}); | ||||
|   context.branches = await getBranches(options.repositoryUrl, ciBranch, context); | ||||
|   context.branch = context.branches.find(({name}) => name === ciBranch); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user