Update validate_markdown.yml
This commit is contained in:
18
.github/workflows/validate_markdown.yml
vendored
18
.github/workflows/validate_markdown.yml
vendored
@@ -13,18 +13,18 @@ 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: ","
|
||||
- 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/custom.markdownlint.jsonc'
|
||||
|
||||
markdown-lint-detailed:
|
||||
|
||||
Reference in New Issue
Block a user