Skip to content

build: configure precommit to use conventional commits#1641

Merged
doodlum merged 3 commits into
devfrom
copilot/configure-pre-commit-ci
Dec 16, 2025
Merged

build: configure precommit to use conventional commits#1641
doodlum merged 3 commits into
devfrom
copilot/configure-pre-commit-ci

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Dec 13, 2025

Configures pre-commit.ci to use conventional commits format when automatically updating hook versions, as requested in #1259.

Changes

  • Added autoupdate_commit_msg: "build(deps): update pre-commit hooks" to the ci: section in .pre-commit-config.yaml

This complements the existing autofix_commit_msg configuration for automated formatting commits. Future automated dependency updates will now follow the project's conventional commit standards using the build type, which is appropriate for external dependency updates according to the Conventional Commits specification.

Original prompt

This section details on the original issue you should resolve

<issue_title>Configure pre-commit.ci to use conventional commits format</issue_title>
<issue_description>## Context

As discussed in PR #1259 (#1259), we should configure pre-commit.ci to follow conventional commits format for automated dependency updates.

Task

Update the .pre-commit-config.yaml file to include a ci: section that configures the commit message format for autoupdate PRs.

Reference

Documentation

See pre-commit.ci configuration documentation for details on the autoupdate_commit_msg field.</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Dec 13, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

Co-authored-by: alandtse <7086117+alandtse@users.noreply.github.com>
Copy link
Copy Markdown
Collaborator

@alandtse alandtse left a comment

Choose a reason for hiding this comment

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

@copilot isn't this a build type and not chore?

Copilot AI changed the title [WIP] Configure pre-commit.ci for conventional commits format chore(ci): configure autoupdate commit messages to use conventional commits Dec 13, 2025
Copilot AI requested a review from alandtse December 13, 2025 23:13
@alandtse alandtse changed the title chore(ci): configure autoupdate commit messages to use conventional commits ci: configure precommit to use conventional commits Dec 13, 2025
Co-authored-by: alandtse <7086117+alandtse@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Dec 13, 2025

@copilot isn't this a build type and not chore?

You're correct! Updated to build(deps): in commit 5342f45. The build type is more appropriate for external dependency updates according to the Conventional Commits specification.

@alandtse alandtse marked this pull request as ready for review December 13, 2025 23:15
Copilot AI review requested due to automatic review settings December 13, 2025 23:15
Copilot AI changed the title ci: configure precommit to use conventional commits build(ci): configure autoupdate commit messages to use conventional commits Dec 13, 2025
Copilot AI requested a review from alandtse December 13, 2025 23:16
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR configures pre-commit.ci to use conventional commit format for automated dependency updates by adding the autoupdate_commit_msg field to the CI configuration. This ensures consistency with the project's commit message standards documented in .claude/CLAUDE.md.

  • Adds autoupdate_commit_msg configuration to .pre-commit-config.yaml
  • Uses build(deps): prefix for dependency updates per conventional commits specification
  • Aligns automated commit messages with project standards

@alandtse alandtse changed the title build(ci): configure autoupdate commit messages to use conventional commits build: configure precommit to use conventional commits Dec 13, 2025
@doodlum doodlum merged commit f8451d0 into dev Dec 16, 2025
18 checks passed
ParticleTroned pushed a commit to ParticleTroned/skyrim-community-shaders that referenced this pull request Dec 18, 2025
…ders#1641)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alandtse <7086117+alandtse@users.noreply.github.com>
ParticleTroned pushed a commit to ParticleTroned/skyrim-community-shaders that referenced this pull request Dec 19, 2025
…ders#1641)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alandtse <7086117+alandtse@users.noreply.github.com>
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.

Configure pre-commit.ci to use conventional commits format

4 participants