if there's a new version of airbyte-ci available, we fail the pre-push hook and force an update. For some reason, that doesn't even satisfy pre-push hooks on graphite. I really think it's an unnecessary check during hooks, and only adds friction
11 lines
295 B
YAML
11 lines
295 B
YAML
repos:
|
|
- repo: local
|
|
hooks:
|
|
- id: format-fix-all-on-push
|
|
always_run: true
|
|
entry: airbyte-ci --disable-update-check format fix all
|
|
language: system
|
|
name: Run airbyte-ci format fix on git push (~30s)
|
|
pass_filenames: false
|
|
stages: [push]
|