Skip to content

Commit 573d86e

Browse files
only examine modified md files
1 parent fa21842 commit 573d86e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

lint-markdown/action.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,17 @@ runs:
2525
repository: Consensys/docs-gha
2626
path: .docs-gha
2727

28+
- uses: tj-actions/changed-files@v45
29+
id: changed-files
30+
with:
31+
files: ${{ inputs.FILEPATHS }}
32+
separator: ','
33+
2834
- name: markdown lint
2935
uses: DavidAnson/markdownlint-cli2-action@v17
3036
with:
3137
config: ${{ inputs.CONFIG_FILE }}
32-
globs: ${{ inputs.FILEPATHS }}
38+
globs: ${{ steps.changed-files.outputs.all_changed_files }}
3339
separator: ','
40+
# don't block the build - let it proceed
41+
#continue-on-error: true

0 commit comments

Comments
 (0)