Skip to content

test(ci): drop version asserts of the pre-commit config - #8068

Merged
dan-petty merged 2 commits into
mainfrom
test/8052-pre-commit-bump-needs-no-test-edit
Dec 1, 2026
Merged

dan-petty merged 2 commits into
mainfrom
test/8052-pre-commit-bump-needs-no-test-edit

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

A Renovate update of a pre-commit hook revision or of the minimum pre-commit version failed a test, although no code changed. The test asserted values of .pre-commit-config.yaml. This change deletes it and the two spec lines that named those versions. pre-commit validates its own config file, and the pre-push time bound keeps its own test.

Closes #8052

Change: openspec/changes/archive/2026-12-01-8052-pre-commit-bump-needs-no-test-edit/

A pre-commit or hook update changes no source code, so it needs no test edit. Each assertion of the deleted test read a value of .pre-commit-config.yaml (#8052).
@dan-petty dan-petty added type/test Type test: a new or changed test scope/ci GitHub Actions workflows, pre-commit hooks, CI gates, and runners labels Dec 1, 2026
@dan-petty
dan-petty marked this pull request as ready for review December 1, 2026 20:52
@dan-petty
dan-petty merged commit 4a5357d into main Dec 1, 2026
27 checks passed
@dan-petty
dan-petty deleted the test/8052-pre-commit-bump-needs-no-test-edit branch December 1, 2026 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/ci GitHub Actions workflows, pre-commit hooks, CI gates, and runners type/test Type test: a new or changed test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(ci): let a pre-commit update pass with no test edit

1 participant