From 026b47f5ba4e48b33638d2692efc5b6daf1e3d2d Mon Sep 17 00:00:00 2001 From: Craig Sloggett Date: Wed, 10 Apr 2024 14:20:03 -0400 Subject: [PATCH] ci: Ignore Terraform generated docs in the linter (#2) 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. --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 19b9b1a..739ad6f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -81,4 +81,4 @@ jobs: uses: articulate/actions-markdownlint@17b8abe7407cd17590c006ecc837c35e1ac3ed83 # v1.1.0 with: config: .markdownlint.yml - files: '**/*.md' + ignore: docs