Skip to content

Hint user to activate lefthook locally

David Dieulivol requested to merge ddieulivol-activate_lefthook into master

Context

  • lefthook is not active locally until you run lefthook install in your repo.
  • When cloning the repo, if people don't run lefthook install, they will bypass the rules present in lefthook.yml

What does this MR do and why?

Hints the user setting up the repo to run lefthook install locally in the repo.

Expected impact & dry-runs

These are strongly recommended to assist reviewers and reduce the time to merge your change.

See https://gitlab.com/gitlab-org/quality/triage-ops/-/tree/master/doc/scheduled#testing-with-a-dry-run on how to perform dry-runs.

Action items

  • (If applicable) Add documentation to the handbook pages for Triage Operations =>
  • (If applicable) Identify the affected groups and how to communicate to them:
    • /cc @person_or_group =>
    • Relevant Slack channels =>
    • Engineering week-in-review

Merge request reports