mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-31 01:58:36 +08:00 
			
		
		
		
	Merge 3a2088e347 into e6d535c99c
				
					
				
			This commit is contained in:
		
						commit
						4f4fad0805
					
				
							
								
								
									
										4
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							|  | @ -7535,8 +7535,8 @@ function getSource(settings) { | ||||||
|             } |             } | ||||||
|             // Get commit information
 |             // Get commit information
 | ||||||
|             const commitInfo = yield git.log1(); |             const commitInfo = yield git.log1(); | ||||||
|             // Log commit sha
 |             // Log commit information
 | ||||||
|             yield git.log1("--format='%H'"); |             yield git.log1("--format=oneline"); | ||||||
|             // Check for incorrect pull request merge commit
 |             // Check for incorrect pull request merge commit
 | ||||||
|             yield refHelper.checkCommitInfo(settings.authToken, commitInfo, settings.repositoryOwner, settings.repositoryName, settings.ref, settings.commit, settings.githubServerUrl); |             yield refHelper.checkCommitInfo(settings.authToken, commitInfo, settings.repositoryOwner, settings.repositoryName, settings.ref, settings.commit, settings.githubServerUrl); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  | @ -224,8 +224,8 @@ export async function getSource(settings: IGitSourceSettings): Promise<void> { | ||||||
|     // Get commit information
 |     // Get commit information
 | ||||||
|     const commitInfo = await git.log1() |     const commitInfo = await git.log1() | ||||||
| 
 | 
 | ||||||
|     // Log commit sha
 |     // Log commit information
 | ||||||
|     await git.log1("--format='%H'") |     await git.log1("--format=oneline") | ||||||
| 
 | 
 | ||||||
|     // Check for incorrect pull request merge commit
 |     // Check for incorrect pull request merge commit
 | ||||||
|     await refHelper.checkCommitInfo( |     await refHelper.checkCommitInfo( | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Daniel Müller
						Daniel Müller