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

View File

@ -29,11 +29,11 @@ pre-commit:
commands: &commands commands: &commands
bundle-install: bundle-install:
files: git diff --name-only HEAD master files: git diff --name-only HEAD main
glob: "{Gemfile,Gemfile.lock,*.gemspec}" glob: "{Gemfile,Gemfile.lock,*.gemspec}"
run: bundle install run: bundle install
yarn-install: yarn-install:
files: git diff --name-only HEAD master files: git diff --name-only HEAD main
glob: "{package.json,yarn.lock}" glob: "{package.json,yarn.lock}"
run: yarn install run: yarn install