Add --no-recurse-submodules to git fetch (#299)

This commit is contained in:
Frederik Hanghøj Iversen 2020-05-18 14:55:52 +02:00 committed by GitHub
parent dfa62dba11
commit 93e7aa6ea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ export async function init(action: ActionInterface): Promise<void | Error> {
`git remote add origin ${action.repositoryPath}`,
action.workspace
)
await execute(`git fetch`, action.workspace)
await execute(`git fetch --no-recurse-submodules`, action.workspace)
info('Git configured… 🔧')
} catch (error) {