-
Notifications
You must be signed in to change notification settings - Fork 7
Add pre-commit feature and bump versions #66
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
base: main
Are you sure you want to change the base?
Add pre-commit feature and bump versions #66
Conversation
|
I would wait for feedback from @mikehaller before merging this |
| "ghcr.io/devcontainers-extra/features/pre-commit:2": { | ||
| "version": "4.5.1" | ||
| }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One thing may be missing: pre-commit install needs to be triggered. I have seen that in a postCreateCommand.
mikehaller
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doing the install into git by default would be nice, but could also be done repo specific.
3116640 to
1c81846
Compare
Should be done now |
1c81846 to
b5b1d4f
Compare
It supports to spot easy to detect issues before committing code and reduce the number of failed CI runs and review cycles. Ensure the S-CORE depends on the pre-commit feature so that it is always because it installs scripts using it.
6f3a1fc to
b0ec723
Compare
pre-commit helps to reduce CI load and review cycles.
We should eventually introduce something like dependabot if we do not want to spend a lot of time bumping versions.
Closes #62