We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fa21842 + 573d86e commit 1155945Copy full SHA for 1155945
lint-markdown/action.yml
@@ -25,9 +25,23 @@ 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: Display changed-files
35
+ shell: bash
36
+ run: |
37
+ echo ${{ steps.changed-files.outputs.all_changed_files }}
38
39
- name: markdown lint
40
+ if: ${{ steps.changed-files.outputs.all_changed_files != '' }}
41
uses: DavidAnson/markdownlint-cli2-action@v17
42
with:
43
config: ${{ inputs.CONFIG_FILE }}
- globs: ${{ inputs.FILEPATHS }}
44
+ globs: ${{ steps.changed-files.outputs.all_changed_files }}
45
separator: ','
46
+ # don't block the build - let it proceed
47
+ #continue-on-error: true
0 commit comments