Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix make tidy pre-commit hook stage #920

Merged
merged 2 commits into from
Apr 24, 2024
Merged

fix make tidy pre-commit hook stage #920

merged 2 commits into from
Apr 24, 2024

Conversation

tateexon
Copy link
Collaborator

@tateexon tateexon commented Apr 18, 2024

Uses the pre-push hook when calling the go-mod-tidy script since it is not a pre-commit hook any more.


Below is a summarization created by an LLM (gpt-4-0125-preview). Be mindful of hallucinations and verify accuracy.

Why

The changes ensure pre-commit hooks for go-mod-tidy are executed at the pre-push stage, improving code quality before changes are pushed to the repository.

What

  • Makefile
    • Changed pre-commit command to trigger go-mod-tidy at the pre-push stage instead of the default stage. This modification ensures dependencies are tidy and clean before pushing to the repository, enhancing code quality and consistency.

@cl-sonarqube-production
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@tateexon tateexon merged commit 3d0df6a into main Apr 24, 2024
20 checks passed
@tateexon tateexon deleted the fix_make_tidy branch April 24, 2024 12:23
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.

None yet

2 participants