Skip to content

Skip running lefthook when syncing forks

Brian Williams requested to merge bwill/skip-lefthook-on-master into main

What does this Merge Request do and why?

Related to #1584 (closed).

When community contributors try to sync their forks, lefthook runs and often fails due to the volume of changes. Lefthook doesn't need to run on master, since we are not pushing new changes here, but rather bringing in existing commits from upstream.

Merge Request checklist

  • This change is backward compatible. If not, please include steps to communicate to our users.
  • Tests added for new functionality. If not, please raise Issue to follow-up.
  • Documentation added/updated, if needed.
  • gdk doctor test added, if needed.
  • Add the ~highlight label if this MR should be included in the CHANGELOG.md.

Merge request reports