mirror of
				https://github.com/actions/checkout.git
				synced 2025-11-04 13:29:15 +08:00 
			
		
		
		
	update default branch (#305)
This commit is contained in:
		@@ -764,7 +764,7 @@ async function setup(testName: string): Promise<void> {
 | 
			
		||||
    submodules: false,
 | 
			
		||||
    nestedSubmodules: false,
 | 
			
		||||
    persistCredentials: true,
 | 
			
		||||
    ref: 'refs/heads/master',
 | 
			
		||||
    ref: 'refs/heads/main',
 | 
			
		||||
    repositoryName: 'my-repo',
 | 
			
		||||
    repositoryOwner: 'my-org',
 | 
			
		||||
    repositoryPath: '',
 | 
			
		||||
 
 | 
			
		||||
@@ -20,5 +20,5 @@ else
 | 
			
		||||
 | 
			
		||||
  # Verify auth token
 | 
			
		||||
  cd basic
 | 
			
		||||
  git fetch --no-tags --depth=1 origin +refs/heads/master:refs/remotes/origin/master
 | 
			
		||||
  git fetch --no-tags --depth=1 origin +refs/heads/main:refs/remotes/origin/main
 | 
			
		||||
fi
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user