Skip to content

chore(deps-dev): have Dependabot update the pre-commit hooks#1389

Merged
behnazh-w merged 2 commits intooracle:mainfrom
jenstroeger:expand-dependabot
Apr 28, 2026
Merged

chore(deps-dev): have Dependabot update the pre-commit hooks#1389
behnazh-w merged 2 commits intooracle:mainfrom
jenstroeger:expand-dependabot

Conversation

@jenstroeger
Copy link
Copy Markdown
Contributor

@jenstroeger jenstroeger commented Apr 27, 2026

Summary

Dependabot understand pre-commit configurations, so let it keep the deps up-to-date. See also the docs.

Unfortunately, pre-commit for our hooks uses pip to install these additional dependencies and pip’s requirements specifiers do not support git hashes (docs) such that the additional dependencies continue to use version tags.

Description of changes

Added Dependabot pre-commit ecosystem (docs).

Related issues

n/a

Checklist

  • I have reviewed the contribution guide.
  • My PR title and commits follow the Conventional Commits convention.
  • My commits include the "Signed-off-by" line.
  • I have signed my commits following the instructions provided by GitHub. Note that we run GitHub's commit verification tool to check the commit signatures. A green verified label should appear next to all of your commits on GitHub.
  • I have updated the relevant documentation, if applicable.
  • I have tested my changes and verified they work as expected.

Signed-off-by: Jens Troeger <jens.troeger@light-speed.de>
@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 27, 2026
@jenstroeger jenstroeger requested a review from behnazh-w as a code owner April 27, 2026 09:09
@behnazh-w behnazh-w changed the title fix(deps): have Dependabot update the pre-commit hooks chore(deps-dev): have Dependabot update the pre-commit hooks Apr 27, 2026
@behnazh-w
Copy link
Copy Markdown
Member

Thanks for the PR. Does pre-commit autoupdate update the commit SHAs?

@jenstroeger
Copy link
Copy Markdown
Contributor Author

Does pre-commit autoupdate update the commit SHAs?

It does, but you need to use the --freeze option:

macaron > pre-commit autoupdate --freeze
[https://github.com/commitizen-tools/commitizen] updating 4fbeae7861663ecf4b4989211eba41c1a3fb1227 -> v4.13.10 (frozen)
...

@behnazh-w behnazh-w merged commit 74f61d3 into oracle:main Apr 28, 2026
17 checks passed
@jenstroeger
Copy link
Copy Markdown
Contributor Author

behnazh-w pushed a commit that referenced this pull request Apr 29, 2026
…#1399)

Reverts #1389

More investigation is required before we make this change permanent, based on the PRs that Dependabot openened.

Signed-off-by: Jens Troeger <jens.troeger@light-speed.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants