From 9a375c59b784b3416f5745a21d46e8ec029c21f5 Mon Sep 17 00:00:00 2001 From: Donatas Navidonskis Date: Thu, 11 Apr 2024 17:20:59 +0300 Subject: [PATCH] chore: try to fetch git to the head --- .github/workflows/lefthook-precommit.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/lefthook-precommit.yml b/.github/workflows/lefthook-precommit.yml index 44f8e31..659d450 100644 --- a/.github/workflows/lefthook-precommit.yml +++ b/.github/workflows/lefthook-precommit.yml @@ -17,6 +17,7 @@ jobs: run: sudo apt install lefthook - name: Install Hooks run: | + git fetch origin main:refs/remotes/origin/main mkdir -p .git/hooks ls -la lefthook install