diff --git a/.github/workflows/lint-markdown.yml b/.github/workflows/lint-markdown.yml index 3287fff80..87ece4abd 100644 --- a/.github/workflows/lint-markdown.yml +++ b/.github/workflows/lint-markdown.yml @@ -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" \ + docker run --rm \ + -v "${GITHUB_WORKSPACE}":/data \ markdownlint/markdownlint \ - -c "/config/.markdownlint.jsonc" \ - {} + + -c "/data/.markdownlint.jsonc" \ + .