Skip to content

Commit

Permalink
only examine modified md files
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuafernandes committed Sep 13, 2024
1 parent fa21842 commit 573d86e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion lint-markdown/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,17 @@ runs:
repository: Consensys/docs-gha
path: .docs-gha

- uses: tj-actions/changed-files@v45
id: changed-files
with:
files: ${{ inputs.FILEPATHS }}
separator: ','

- name: markdown lint
uses: DavidAnson/markdownlint-cli2-action@v17
with:
config: ${{ inputs.CONFIG_FILE }}
globs: ${{ inputs.FILEPATHS }}
globs: ${{ steps.changed-files.outputs.all_changed_files }}
separator: ','
# don't block the build - let it proceed
#continue-on-error: true

0 comments on commit 573d86e

Please sign in to comment.