Skip to content

Commit

Permalink
ci: Ignore Terraform generated docs in the linter (#2)
Browse files Browse the repository at this point in the history
Terraform provider documentation is automatically generated and can fail
some markdown lint checks (like line length). 

This change removes the default configuration setting (lint all Markdown 
files in the repository) and adds the `docs` path to the ignore field which 
is where Terraform generated docs live.

All other markdown files should be linted.
  • Loading branch information
craigsloggett authored Apr 10, 2024
1 parent c2b8de3 commit 026b47f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ jobs:
uses: articulate/actions-markdownlint@17b8abe7407cd17590c006ecc837c35e1ac3ed83 # v1.1.0
with:
config: .markdownlint.yml
files: '**/*.md'
ignore: docs

0 comments on commit 026b47f

Please sign in to comment.