File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -20,22 +20,23 @@ jobs:
20
20
- docs/**
21
21
22
22
- name : Run step if doc file(s) change
23
- # if: steps.changed-files-yaml.outputs.doc_any_changed == 'true'
23
+ if : steps.changed-files-yaml.outputs.doc_any_changed == 'true'
24
24
env :
25
25
DOC_ALL_CHANGED_FILES : ${{ steps.changed-files-yaml.outputs.doc_all_changed_files }}
26
26
run : |
27
27
echo "One or more doc file(s) has changed."
28
28
echo "List all the files that have changed: $DOC_ALL_CHANGED_FILES"
29
29
30
+ # If one file is changed, we can check all the files
30
31
- name : Check markdown links in docs
31
- # if: steps.changed-files-yaml.outputs.doc_any_changed == 'true'
32
+ if : steps.changed-files-yaml.outputs.doc_any_changed == 'true'
32
33
uses : gaurav-nelson/github-action-markdown-link-check@v1
33
34
with :
34
35
config-file : ' .github/workflows/link-checker.config.json'
35
36
folder-path : ' docs/'
36
37
37
38
- name : Check markdown files in root
38
- # if: steps.changed-files-yaml.outputs.doc_any_changed == 'true'
39
+ if : steps.changed-files-yaml.outputs.doc_any_changed == 'true'
39
40
uses : gaurav-nelson/github-action-markdown-link-check@v1
40
41
with :
41
42
config-file : ' .github/workflows/link-checker.config.json'
You can’t perform that action at this time.
0 commit comments