build: pre-commit autoupdate#1259
Conversation
24dffe7 to
84dba0f
Compare
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
84dba0f to
2c3b5f5
Compare
2c3b5f5 to
13a261d
Compare
0cd03f9 to
63cbf85
Compare
63cbf85 to
5fa8c4b
Compare
5fa8c4b to
76920a8
Compare
76920a8 to
b4d6c08
Compare
b3f045e to
195c798
Compare
|
@coderabbitai is there a setting or configuration for pre-commit so that it follows conventional commits for these type of bumps? |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🌐 Web query: 💡 Result: Here are two concise examples you can drop into .pre-commit-config.yaml to enforce Conventional Commits with pre-commit.ci (both run as commit-msg hooks). Add the ci: section (optional) to control pre-commit.ci behavior.
(See project and usage notes.) [1][2]
(See Commitizen docs and plugin examples.) [3][4] Notes and pointers
Sources: 🌐 Web query: 💡 Result: Use the ci: autoupdate_commit_msg field in your .pre-commit-config.yaml (you can also set autofix_commit_msg for autofix PRs). It accepts a string (single-line or multi-line with |). Example: ci: Defaults:
Reference: pre-commit.ci configuration docs. [1] 🏁 Script executed: Length of output: 207 🏁 Script executed: Length of output: 0 🏁 Script executed: Length of output: 0 🏁 Script executed: Length of output: 349 🏁 Script executed: Length of output: 61 🏁 Script executed: Length of output: 55 🏁 Script executed: Length of output: 1220 @alandtse Yes! You can configure pre-commit.ci to use conventional commits format by adding a Here's how to modify your configuration: ci:
autoupdate_commit_msg: 'chore(deps): update pre-commit hooks'
autofix_commit_msg: 'style: auto fixes from pre-commit.com hooks'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: check-yaml
# ... rest of your configYou can also use a multi-line format if you want more detail: ci:
autoupdate_commit_msg: |
chore(deps): update pre-commit hooks
Automated dependency updates from pre-commit.ciCommon conventional commit prefixes for dependency updates:
According to the pre-commit.ci documentation, the 🧠 Learnings used |
@coderabbitai Let's create an unassigned issue for fixing the pre-commit file |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain@alandtse I'll create an unassigned issue for configuring the pre-commit file to use conventional commits. 🏁 Script executed: Length of output: 63 @alandtse Done! I've created issue #1640 for configuring pre-commit.ci to use conventional commits format: #1640 The issue includes:
The issue is unassigned as requested. 🧠 Learnings used |
195c798 to
f30d5a7
Compare
f30d5a7 to
6e95c36
Compare
updates: - [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](pre-commit/pre-commit-hooks@v5.0.0...v6.0.0) - [github.com/pre-commit/mirrors-clang-format: v20.1.5 → v21.1.8](pre-commit/mirrors-clang-format@v20.1.5...v21.1.8) - [github.com/pre-commit/mirrors-prettier: v3.1.0 → v4.0.0-alpha.8](pre-commit/mirrors-prettier@v3.1.0...v4.0.0-alpha.8) - [github.com/BlankSpruce/gersemi: 0.22.3 → 0.25.1](BlankSpruce/gersemi@0.22.3...0.25.1)
6e95c36 to
414c045
Compare
updates: