From b77cfa55b4808bd020defbbdcd00da40703e9393 Mon Sep 17 00:00:00 2001 From: Jason Field Date: Thu, 29 Jul 2021 10:15:32 +0100 Subject: [PATCH] Update README.md --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a7ef47b..8a9dd39 100644 --- a/README.md +++ b/README.md @@ -34,11 +34,30 @@ jobs: steps: - name: Check out code - uses: actions/checkout@master + uses: actions/checkout@v2 - name: Run mdl uses: actionshub/markdownlint@main ``` +### With Ignore files + +```yaml +name: markdownlint + +on: [push, pull_request] + +jobs: + mdl: + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@v2 + - name: Run Markdown Lint + uses: actionshub/markdownlint@main + with: + filesToIgnoreRegex: "node_modules\\/.*" +``` + ## Configuration `markdownlint` can use a config file called `.mdlrc` this can be found in the [documentation](https://github.com/markdownlint/markdownlint/blob/master/docs/configuration.md)