diff --git a/lint-markdown/action.yml b/lint-markdown/action.yml index ac1c01d..9ca94af 100644 --- a/lint-markdown/action.yml +++ b/lint-markdown/action.yml @@ -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 diff --git a/spelling/styles/Microsoft/Acronyms.yml b/spelling/styles/Microsoft/Acronyms.yml index 308ff7c..bfd983f 100644 --- a/spelling/styles/Microsoft/Acronyms.yml +++ b/spelling/styles/Microsoft/Acronyms.yml @@ -43,6 +43,7 @@ exceptions: - POST - RAM - REPL + - REST - RSA - SCM - SCSS