Skip to content

Conversation

@lurtz
Copy link
Contributor

@lurtz lurtz commented Jan 29, 2026

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

@lurtz lurtz changed the title Add pre commit feature and bump versions Add pre-commit feature and bump versions Jan 29, 2026
@lurtz lurtz requested review from mikehaller and opajonk January 29, 2026 13:13
@lurtz lurtz marked this pull request as ready for review January 29, 2026 13:13
@lurtz
Copy link
Contributor Author

lurtz commented Jan 29, 2026

I would wait for feedback from @mikehaller before merging this

Comment on lines 40 to 42
"ghcr.io/devcontainers-extra/features/pre-commit:2": {
"version": "4.5.1"
},
Copy link
Contributor

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.

Copy link

@mikehaller mikehaller left a 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.

@lurtz lurtz force-pushed the add-pre-commit-feature branch from 3116640 to 1c81846 Compare January 29, 2026 15:29
@lurtz
Copy link
Contributor Author

lurtz commented Jan 29, 2026

Doing the install into git by default would be nice, but could also be done repo specific.

Should be done now

@lurtz lurtz force-pushed the add-pre-commit-feature branch from 1c81846 to b5b1d4f Compare January 29, 2026 15:35
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.
@lurtz lurtz force-pushed the add-pre-commit-feature branch from 6f3a1fc to b0ec723 Compare January 29, 2026 16:33
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.

pre-commit hook pre-enabled

3 participants