From c215ce4d572ac7808e452afde24fdd0b52f0440c Mon Sep 17 00:00:00 2001 From: Pete Crocker Date: Tue, 14 Jan 2025 12:11:13 +0000 Subject: [PATCH 1/4] cleanup linting errors --- .github/file-filters.yml | 2 +- .github/labeler.yml | 2 +- .github/workflows/ci.yml | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/file-filters.yml b/.github/file-filters.yml index 5100ee7..0c04075 100644 --- a/.github/file-filters.yml +++ b/.github/file-filters.yml @@ -22,4 +22,4 @@ markdown_all: &markdown_all documentation_all: - *doc_files - - *markdown_all \ No newline at end of file + - *markdown_all diff --git a/.github/labeler.yml b/.github/labeler.yml index 95aa525..581966f 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -5,4 +5,4 @@ "type/documentation": - changed-files: - - any-glob-to-any-file: ["docs/**"] \ No newline at end of file + - any-glob-to-any-file: ["docs/**"] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ee19dfc..d4d7c05 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,7 @@ --- name: Build and Deploy Docusaurus +# yamllint disable rule:truthy rule:truthy rule:line-length + on: pull_request: push: @@ -114,4 +116,4 @@ jobs: env: VALE_VERSION: ${{ env.VALE_VERSION }} - name: "Validate documentation style" - run: ./vale $(find ./docs -type f \( -name "*.mdx" -o -name "*.md" \) ) \ No newline at end of file + run: ./vale $(find ./docs -type f \( -name "*.mdx" -o -name "*.md" \) ) From 5c7cbea59bb981c98ad81e57179b463f2dabf3f1 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 14 Jan 2025 12:26:20 +0000 Subject: [PATCH 2/4] Sync docs from infrahub repo --- .vale/styles/spelling-exceptions.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.vale/styles/spelling-exceptions.txt b/.vale/styles/spelling-exceptions.txt index 754d905..ab64dd7 100644 --- a/.vale/styles/spelling-exceptions.txt +++ b/.vale/styles/spelling-exceptions.txt @@ -16,6 +16,7 @@ codespaces combobox config Config +Containerlab content_type convert_query_response coroutine @@ -123,6 +124,7 @@ UUID validators Version Control Vitest +VLANs Yaml yamllint YouTube From 4618635381bdceb7c48a73763e0fb6d0fdec0871 Mon Sep 17 00:00:00 2001 From: Pete Crocker Date: Tue, 14 Jan 2025 12:11:13 +0000 Subject: [PATCH 3/4] cleanup linting errors --- .github/file-filters.yml | 2 +- .github/labeler.yml | 2 +- .github/workflows/ci.yml | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/file-filters.yml b/.github/file-filters.yml index 5100ee7..0c04075 100644 --- a/.github/file-filters.yml +++ b/.github/file-filters.yml @@ -22,4 +22,4 @@ markdown_all: &markdown_all documentation_all: - *doc_files - - *markdown_all \ No newline at end of file + - *markdown_all diff --git a/.github/labeler.yml b/.github/labeler.yml index 95aa525..581966f 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -5,4 +5,4 @@ "type/documentation": - changed-files: - - any-glob-to-any-file: ["docs/**"] \ No newline at end of file + - any-glob-to-any-file: ["docs/**"] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ee19dfc..d4d7c05 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,7 @@ --- name: Build and Deploy Docusaurus +# yamllint disable rule:truthy rule:truthy rule:line-length + on: pull_request: push: @@ -114,4 +116,4 @@ jobs: env: VALE_VERSION: ${{ env.VALE_VERSION }} - name: "Validate documentation style" - run: ./vale $(find ./docs -type f \( -name "*.mdx" -o -name "*.md" \) ) \ No newline at end of file + run: ./vale $(find ./docs -type f \( -name "*.mdx" -o -name "*.md" \) ) From b78ecce6d2483a1bde054f57ca8d3db2da766317 Mon Sep 17 00:00:00 2001 From: Pete Crocker Date: Tue, 14 Jan 2025 12:38:22 +0000 Subject: [PATCH 4/4] improve github action --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d4d7c05..4ebfb93 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,10 +3,12 @@ name: Build and Deploy Docusaurus # yamllint disable rule:truthy rule:truthy rule:line-length on: - pull_request: push: branches: - main + pull_request: + branches: + - main env: VALE_VERSION: "3.7.1"