diff --git a/src/git.ts b/src/git.ts index ae6839ab..50a9659b 100644 --- a/src/git.ts +++ b/src/git.ts @@ -21,15 +21,15 @@ export async function init(action: ActionInterface): Promise { info(`Deploying using ${action.tokenType}… 🔑`) info('Configuring git…') - // try { - // await execute( - // `git config --global --add safe.directory "${action.workspace}"`, - // action.workspace, - // action.silent - // ) - // } catch { - // info('Unable to set workspace as a safe directory…') - // } + try { + await execute( + `git config --global --add safe.directory "${action.workspace}"`, + action.workspace, + action.silent + ) + } catch { + info('Unable to set workspace as a safe directory…') + } await execute( `git config user.name "${action.name}"`,