From 4cb65675c637d7f53609912f4367248971842397 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Tue, 20 Jul 2021 10:18:55 +0200 Subject: [PATCH] DEV: uses main branch in lefthooks (#13792) --- lefthook.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lefthook.yml b/lefthook.yml index 50e4342d196..b5e3a773970 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -29,11 +29,11 @@ pre-commit: commands: &commands bundle-install: - files: git diff --name-only HEAD master + files: git diff --name-only HEAD main glob: "{Gemfile,Gemfile.lock,*.gemspec}" run: bundle install yarn-install: - files: git diff --name-only HEAD master + files: git diff --name-only HEAD main glob: "{package.json,yarn.lock}" run: yarn install