Update validate_markdown.yml

This commit is contained in:
Edward Firmo
2024-01-05 10:13:25 +01:00
parent d158a801ad
commit 484fc4ba8c

View File

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