DEV: uses main branch in lefthooks (#13792)

This commit is contained in:
Joffrey JAFFEUX 2021-07-20 10:18:55 +02:00 committed by GitHub
parent 08c6a7679d
commit 4cb65675c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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