diff --git a/.github/workflows/validate_markdown.yml b/.github/workflows/validate_markdown.yml index 100831a..82d5f1a 100644 --- a/.github/workflows/validate_markdown.yml +++ b/.github/workflows/validate_markdown.yml @@ -14,21 +14,21 @@ jobs: uses: actions/checkout@v4.1.0 # https://github.com/marketplace/actions/markdownlint-cli2-action - #- name: Identify changed files - # uses: tj-actions/changed-files@v41 - # id: changed-files - # with: - # files: '**/*.md' - # separator: "," + - name: Identify changed files + uses: tj-actions/changed-files@v41 + id: changed-files + with: + files: '**/*.md' + separator: "," + # https://github.com/marketplace/actions/markdownlint-cli2-action - name: Markdown Lint uses: DavidAnson/markdownlint-cli2-action@v14 - # if: steps.changed-files.outputs.any_changed == 'true' + if: steps.changed-files.outputs.any_changed == 'true' with: - # globs: ${{ steps.changed-files.outputs.all_changed_files }} - # separator: "," + globs: ${{ steps.changed-files.outputs.all_changed_files }} + separator: "," config: '.rules/.markdownlint.jsonc' - files: '**/*.md' - #fix: true + fix: true markdown-links: name: Check links