We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fa21842 + 573d86e commit d7dbd9eCopy full SHA for d7dbd9e
lint-markdown/action.yml
@@ -25,9 +25,18 @@ runs:
25
repository: Consensys/docs-gha
26
path: .docs-gha
27
28
+ - uses: tj-actions/changed-files@v45
29
+ id: changed-files
30
+ with:
31
+ files: ${{ inputs.FILEPATHS }}
32
+ separator: ','
33
+
34
- name: markdown lint
35
+ if: ${{ steps.changed-files.outputs.all_changed_files != '' }}
36
uses: DavidAnson/markdownlint-cli2-action@v17
37
with:
38
config: ${{ inputs.CONFIG_FILE }}
- globs: ${{ inputs.FILEPATHS }}
39
+ globs: ${{ steps.changed-files.outputs.all_changed_files }}
40
separator: ','
41
+ # don't block the build - let it proceed
42
+ #continue-on-error: true
0 commit comments