Skip to content

Commit 966a24e

Browse files
committed
Updated Markdown actions
1 parent 268db88 commit 966a24e

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

.github/workflows/markdown.yaml

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/markdown.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Do not edit this file! Make a pull request on changing
2+
# github/workflows/markdown.yaml in
3+
# https://github.com/itk-dev/devops_itkdev-docker if need be.
4+
5+
### ## Markdown
6+
###
7+
### Uses [itkdev/markdownlint](https://hub.docker.com/r/itkdev/markdownlint) to
8+
### link all Markdown files (`**/*.md`) in the project.
9+
###
10+
### [markdownlint-cli configuration ### files](https://github.com/igorshubovych/markdownlint-cli?tab=readme-ov-file#configuration),
11+
### `.markdownlint.jsonc` and `.markdownlintignore` control what is actually linted and how.
12+
13+
name: Markdown
14+
15+
on:
16+
pull_request:
17+
push:
18+
19+
jobs:
20+
markdown-lint:
21+
runs-on: ubuntu-latest
22+
strategy:
23+
fail-fast: false
24+
steps:
25+
- name: Checkout
26+
uses: actions/checkout@v4
27+
28+
- run: |
29+
docker run --rm --volume "$PWD":/md itkdev/markdownlint '**/*.md'

0 commit comments

Comments
 (0)