mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-30 23:10:31 +00:00 
			
		
		
		
	.
This commit is contained in:
		
							
								
								
									
										3
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							| @@ -8392,7 +8392,8 @@ function downloadRepository(accessToken, owner, repo, ref, commit, repositoryPat | |||||||
|                 }; |                 }; | ||||||
|                 const response = yield octokit.repos.getArchiveLink(params); |                 const response = yield octokit.repos.getArchiveLink(params); | ||||||
|                 console.log('GOT THE RESPONSE'); |                 console.log('GOT THE RESPONSE'); | ||||||
|                 console.log(response.status); |                 console.log(`status=${response.status}`); | ||||||
|  |                 console.log(`headers=${JSON.stringify(response.headers)}`); | ||||||
|                 if (response.status != 200) { |                 if (response.status != 200) { | ||||||
|                     throw new Error(`Unexpected response from GitHub API. Status: '${response.status}'`); |                     throw new Error(`Unexpected response from GitHub API. Status: '${response.status}'`); | ||||||
|                 } |                 } | ||||||
|   | |||||||
| @@ -52,7 +52,8 @@ export async function downloadRepository( | |||||||
|       } |       } | ||||||
|       const response = await octokit.repos.getArchiveLink(params) |       const response = await octokit.repos.getArchiveLink(params) | ||||||
|       console.log('GOT THE RESPONSE') |       console.log('GOT THE RESPONSE') | ||||||
|       console.log(response.status) |       console.log(`status=${response.status}`) | ||||||
|  |       console.log(`headers=${JSON.stringify(response.headers)}`) | ||||||
|       if (response.status != 200) { |       if (response.status != 200) { | ||||||
|         throw new Error( |         throw new Error( | ||||||
|           `Unexpected response from GitHub API. Status: '${response.status}'` |           `Unexpected response from GitHub API. Status: '${response.status}'` | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 eric sciple
					eric sciple