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