This commit is contained in:
Tatyana Kostromskaya 2023-10-05 13:16:46 +02:00
parent 0cf6e008d0
commit 418530e26c

6
dist/index.js vendored

@ -1809,7 +1809,8 @@ function getInputs() {
result.persistCredentials =
(core.getInput('persist-credentials') || 'false').toUpperCase() === 'TRUE';
// Workflow organization ID
result.workflowOrganizationId = yield workflowContextHelper.getOrganizationId();
result.workflowOrganizationId =
yield workflowContextHelper.getOrganizationId();
// Set safe.directory in git global config.
result.setSafeDirectory =
(core.getInput('set-safe-directory') || 'true').toUpperCase() === 'TRUE';
@ -2520,8 +2521,7 @@ function getOrganizationId() {
return id;
}
catch (err) {
core.debug(`Unable to load organization ID from GITHUB_EVENT_PATH: ${err
.message || err}`);
core.debug(`Unable to load organization ID from GITHUB_EVENT_PATH: ${err.message || err}`);
}
});
}