|
@@ -6,7 +6,7 @@ import * as workflowContextHelper from './workflow-context-helper'
|
|
|
import {IGitSourceSettings} from './git-source-settings'
|
|
|
|
|
|
export async function getInputs(): Promise<IGitSourceSettings> {
|
|
|
- const result = ({} as unknown) as IGitSourceSettings
|
|
|
+ const result = {} as unknown as IGitSourceSettings
|
|
|
|
|
|
// GitHub workspace
|
|
|
let githubWorkspacePath = process.env['GITHUB_WORKSPACE']
|
|
@@ -149,7 +149,8 @@ export async function getInputs(): Promise<IGitSourceSettings> {
|
|
|
(core.getInput('persist-credentials') || 'false').toUpperCase() === 'TRUE'
|
|
|
|
|
|
// Workflow organization ID
|
|
|
- result.workflowOrganizationId = await workflowContextHelper.getOrganizationId()
|
|
|
+ result.workflowOrganizationId =
|
|
|
+ await workflowContextHelper.getOrganizationId()
|
|
|
|
|
|
// Set safe.directory in git global config.
|
|
|
result.setSafeDirectory =
|