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

chore(repo): add pre-commit #1345

Merged
merged 2 commits into from
Feb 5, 2025

Conversation

oliverbaehler
Copy link
Collaborator

I have noticed a lot of users having troubles with commit messaging etc. For first time contributors they have to wait until we approve the runs again. To prevent this, i have added some pre-commit hooks which keep the semantics of files clean, check commit messages, generate helm related stuff, and lint the code. This helps users to detect errors already locally without any further action.

I have also added a schema (schema generator target) for our helm chart.

Signed-off-by: Oliver Bähler <[email protected]>
Signed-off-by: Oliver Bähler <[email protected]>
Copy link

netlify bot commented Feb 5, 2025

Deploy Preview for capsule-documentation canceled.

Name Link
🔨 Latest commit d39cbc2
🔍 Latest deploy log https://app.netlify.com/sites/capsule-documentation/deploys/67a317653acb570009ba2ffc

Copy link
Member

@prometherion prometherion left a comment

Choose a reason for hiding this comment

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

Lovely, thanks a lot Oliver!

@oliverbaehler oliverbaehler merged commit e6e35ff into projectcapsule:main Feb 5, 2025
24 checks passed
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.

2 participants