From 0d008a980ebea6c87cbd9757fb5426ad2c6d6d4c Mon Sep 17 00:00:00 2001 From: Christian Dupuis Date: Sat, 11 Jun 2022 02:44:59 +0200 Subject: [PATCH] Fix cloning --- lib/events.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/events.ts b/lib/events.ts index d10b2eb..4bb6624 100644 --- a/lib/events.ts +++ b/lib/events.ts @@ -75,6 +75,7 @@ const LoadProjectStep: NpmStep = { secret.gitHubAppTokenFromRepository(ctx.data.commit), ), }), + { detachHead: !!commit.sha, alwaysDeep: true }, ); params.project = project;