mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-13 16:14:07 -08:00
ci: Skip running pre-commit hooks on rebase and merge (no-changelog) (#10875)
This commit is contained in:
parent
2a084f96f8
commit
a7d24d9dac
|
@ -4,7 +4,13 @@ pre-commit:
|
||||||
glob: 'packages/**/*.{js,ts,json}'
|
glob: 'packages/**/*.{js,ts,json}'
|
||||||
run: ./node_modules/.bin/biome check --write --no-errors-on-unmatched --files-ignore-unknown=true --colors=off {staged_files}
|
run: ./node_modules/.bin/biome check --write --no-errors-on-unmatched --files-ignore-unknown=true --colors=off {staged_files}
|
||||||
stage_fixed: true
|
stage_fixed: true
|
||||||
|
skip:
|
||||||
|
- merge
|
||||||
|
- rebase
|
||||||
prettier_check:
|
prettier_check:
|
||||||
glob: 'packages/**/*.{vue,yml,md}'
|
glob: 'packages/**/*.{vue,yml,md}'
|
||||||
run: ./node_modules/.bin/prettier --write --ignore-unknown --no-error-on-unmatched-pattern {staged_files}
|
run: ./node_modules/.bin/prettier --write --ignore-unknown --no-error-on-unmatched-pattern {staged_files}
|
||||||
stage_fixed: true
|
stage_fixed: true
|
||||||
|
skip:
|
||||||
|
- merge
|
||||||
|
- rebase
|
||||||
|
|
Loading…
Reference in a new issue