mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 15:25:35 +08:00
DEV: uses main branch in lefthooks (#13792)
This commit is contained in:
parent
08c6a7679d
commit
4cb65675c6
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user