Skip to content

Conversation

@wtrocki
Copy link
Member

@wtrocki wtrocki commented Mar 11, 2025

TL;DR

No more failed tests and missing formatting changes on your PR.
SLO for running commands is bellow 1s.

Proposed changes

Adding commit hook that runs only when JS files are changed
We can add the same for golang in follow up easing load on our CI/CD system and github fair usage policies.

How this works

Husky adds the automatic hook
All is optional and configured by running

npm run precommit

Documentation

Documentation provided as part of the contributing.md (introduced one as we going to add more details for IPA work going forward)

Manual Testing

Screenshot 2025-03-11 at 10 28 36

@wtrocki wtrocki marked this pull request as ready for review March 11, 2025 09:30
@wtrocki wtrocki requested a review from a team as a code owner March 11, 2025 09:30
Copy link
Collaborator

@lovisaberggren lovisaberggren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks!

@wtrocki wtrocki merged commit 3dabaed into main Mar 11, 2025
11 checks passed
@wtrocki wtrocki deleted the commit-hook branch March 11, 2025 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants