Skip to content

Commit b150382

Browse files
ci: Disable markdown link checking job on tags
The goal is to avoid the job failing on a deploy routine.
1 parent 34dbb81 commit b150382

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.gitlab-ci.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,9 @@ check-markdown-links:
267267
image:
268268
name: ghcr.io/tcort/markdown-link-check:stable
269269
entrypoint: [""]
270-
only:
271-
changes:
272-
- "**/*.md"
270+
rules:
271+
- if: $CI_COMMIT_TAG
272+
when: never
273+
- when: always
273274
script:
274275
- find . -name \*.md | xargs -n1 /src/markdown-link-check

0 commit comments

Comments
 (0)