mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-10-24 11:35:54 +08:00
* dbeaver/pro#6075 remove commit hooks * dbeaver/pro#6075 do not run pre-commit hooks on merge and rebase * dbeaver/pro#6075 reuse logic --------- Co-authored-by: sergeyteleshev <iamsergeyteleshev@gmail.com> Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
16 lines
281 B
YAML
16 lines
281 B
YAML
lefthook: |
|
|
cd webapp
|
|
yarn lefthook
|
|
output: false
|
|
pre-commit:
|
|
commands:
|
|
check-license:
|
|
skip:
|
|
- merge
|
|
- rebase
|
|
root: webapp
|
|
glob: "*.{ts,tsx}"
|
|
exclude:
|
|
- "**/locales/**"
|
|
run: yarn core-cli-check-license {staged_files}
|