Skip to content

Commit 9b4465e

Browse files
committed
Add explicit versioning to Docker entry points in .pre-commit-hooks.yaml so pre-commit configurations referencing a versioned tag get the corresponding versioned container (fixes #538, fixes #578).
1 parent 9745464 commit 9b4465e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pre-commit-hooks.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
- id: markdownlint-docker
1616
name: markdownlint-docker
1717
description: "Checks the style of Markdown/Commonmark files."
18-
entry: ghcr.io/igorshubovych/markdownlint-cli
18+
entry: ghcr.io/igorshubovych/markdownlint-cli:v0.46.0
1919
language: docker_image
2020
types: [markdown]
2121
minimum_pre_commit_version: 0.15.0
2222
- id: markdownlint-fix-docker
2323
name: markdownlint-fix-docker
2424
description: "Fixes the style of Markdown/Commonmark files."
25-
entry: ghcr.io/igorshubovych/markdownlint-cli --fix
25+
entry: ghcr.io/igorshubovych/markdownlint-cli:v0.46.0 --fix
2626
language: docker_image
2727
types: [markdown]
2828
minimum_pre_commit_version: 0.15.0

0 commit comments

Comments
 (0)