|
|
@ -17,10 +17,8 @@ jobs:
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
- uses: actions/checkout@v3.5.3
|
|
|
|
- name: markdownlint
|
|
|
|
- name: markdownlint
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
find "${GITHUB_WORKSPACE}" -name '*.md' -exec \
|
|
|
|
|
|
|
|
docker run --rm \
|
|
|
|
docker run --rm \
|
|
|
|
-v "${GITHUB_WORKSPACE}":"${GITHUB_WORKSPACE}" \
|
|
|
|
-v "${GITHUB_WORKSPACE}":/data \
|
|
|
|
-v "${GITHUB_WORKSPACE}/.markdownlint.jsonc":"/config/.markdownlint.jsonc" \
|
|
|
|
|
|
|
|
markdownlint/markdownlint \
|
|
|
|
markdownlint/markdownlint \
|
|
|
|
-c "/config/.markdownlint.jsonc" \
|
|
|
|
-c "/data/.markdownlint.jsonc" \
|
|
|
|
{} +
|
|
|
|
.
|
|
|
|