Skip to content

Commit

Permalink
Merge pull request #18 from Consensys/md-modified-files
Browse files Browse the repository at this point in the history
only examine modified md files
  • Loading branch information
joshuafernandes committed Sep 16, 2024
2 parents fa21842 + 573d86e commit ea1da05
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 10 additions & 1 deletion lint-markdown/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,18 @@ 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
if: ${{ steps.changed-files.outputs.all_changed_files != '' }}
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
1 change: 1 addition & 0 deletions spelling/styles/Microsoft/Acronyms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ exceptions:
- POST
- RAM
- REPL
- REST
- RSA
- SCM
- SCSS
Expand Down

0 comments on commit ea1da05

Please sign in to comment.