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