We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 273c87e commit 7eb191bCopy full SHA for 7eb191b
src/git.ts
@@ -21,15 +21,15 @@ export async function init(action: ActionInterface): Promise<void | Error> {
21
info(`Deploying using ${action.tokenType}… 🔑`)
22
info('Configuring git…')
23
24
- // try {
25
- // await execute(
26
- // `git config --global --add safe.directory "${action.workspace}"`,
27
- // action.workspace,
28
- // action.silent
29
- // )
30
- // } catch {
31
- // info('Unable to set workspace as a safe directory…')
32
- // }
+ 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…')
+ }
33
34
await execute(
35
`git config user.name "${action.name}"`,
0 commit comments