Use lefthook remote feature [gemnasium only]
What does this MR do?
Support for lefthook was added as part of Add lefthook (!311 - merged), however, it relies on importing the ci-templates project as a git submodule
. This MR uses the remotes feature of lefthook
to simplify the implementation by removing the reliance on git submodules
.
What are the relevant issue numbers?
pre-push git hooks for the Gemnasium repos (gitlab-org/gitlab#357514 - closed)
Does this MR meet the acceptance criteria?
- [-] Changelog entry added
-
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer