[go: up one dir, main page]

Skip to content

Run Git hooks in Web IDE

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

It is reasonably common for projects to include Git hooks to help developers make sure code is linted before making a commit, and even to lint the commit message itself. Since we'll need to install dev dependencies to run tests, we should also run commit hooks too!

Proposal

Run Git hooks in the attached runner when committing:

  • pre-commit run after Commit is clicked after providing a commit message
  • commit-msg run after the pre-commit hook succeeds, and if successfully, push the commit.

Links / references

Edited by 🤖 GitLab Bot 🤖