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)