mirror of
				https://github.com/actions/checkout.git
				synced 2025-11-02 15:23:49 +00:00 
			
		
		
		
	.
This commit is contained in:
		
							
								
								
									
										6
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							@@ -1809,7 +1809,8 @@ function getInputs() {
 | 
				
			|||||||
        result.persistCredentials =
 | 
					        result.persistCredentials =
 | 
				
			||||||
            (core.getInput('persist-credentials') || 'false').toUpperCase() === 'TRUE';
 | 
					            (core.getInput('persist-credentials') || 'false').toUpperCase() === 'TRUE';
 | 
				
			||||||
        // Workflow organization ID
 | 
					        // Workflow organization ID
 | 
				
			||||||
        result.workflowOrganizationId = yield workflowContextHelper.getOrganizationId();
 | 
					        result.workflowOrganizationId =
 | 
				
			||||||
 | 
					            yield workflowContextHelper.getOrganizationId();
 | 
				
			||||||
        // Set safe.directory in git global config.
 | 
					        // Set safe.directory in git global config.
 | 
				
			||||||
        result.setSafeDirectory =
 | 
					        result.setSafeDirectory =
 | 
				
			||||||
            (core.getInput('set-safe-directory') || 'true').toUpperCase() === 'TRUE';
 | 
					            (core.getInput('set-safe-directory') || 'true').toUpperCase() === 'TRUE';
 | 
				
			||||||
@@ -2520,8 +2521,7 @@ function getOrganizationId() {
 | 
				
			|||||||
            return id;
 | 
					            return id;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        catch (err) {
 | 
					        catch (err) {
 | 
				
			||||||
            core.debug(`Unable to load organization ID from GITHUB_EVENT_PATH: ${err
 | 
					            core.debug(`Unable to load organization ID from GITHUB_EVENT_PATH: ${err.message || err}`);
 | 
				
			||||||
                .message || err}`);
 | 
					 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user