[Suggestion] - Add pre-commit and hooks to run checks before commiting #210

Closed
opened 2022-01-04 08:35:53 +01:00 by muppeth · 0 comments
Owner

It might be interesting for you to add pre-commit (cf. pre-commit website) and some hooks in your repositories, to run checks before committing. These hooks can even be run by a CI job, to run checks before merging branches.

As I am currently rewriting almost all my roles, I have written a role template (cf. ansible-role).

If you're intersted, I could add it to disroot-ansible/gitea role for you to test pre-commit.

It might be interesting for you to add pre-commit (cf. [pre-commit website](https://pre-commit.com/)) and some hooks in your repositories, to run checks before committing. These hooks can even be run by a CI job, to run checks before merging branches. As I am currently rewriting almost all my roles, I have written a *role template* (cf. [ansible-role](https://git.disroot.org/wallun/ansible-role)). If you're intersted, I could add it to disroot-ansible/gitea role for you to test pre-commit.
muppeth added the
nice to have
low prio
labels 2022-01-04 08:37:40 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Disroot/Disroot-Project#210
No description provided.