DEV: uses main branch in lefthooks (#13792)

DEV: uses main branch in lefthooks (#13792)

diff --git a/lefthook.yml b/lefthook.yml
index 50e4342..b5e3a77 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
 

GitHub sha: 4cb65675c637d7f53609912f4367248971842397

This commit appears in #13792 which was approved by CvX. It was merged by jjaffeux.