From ae38dde92f8e177ff04e4d0b871fb7e29210c661 Mon Sep 17 00:00:00 2001 From: MaoShizhong <122839503+MaoShizhong@users.noreply.github.com> Date: Mon, 21 Oct 2024 17:35:51 +0100 Subject: [PATCH 1/2] Include dash delimiter --- .github/workflows/markdownlint-projects.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/markdownlint-projects.yml b/.github/workflows/markdownlint-projects.yml index bd3c586cac7..081cb183408 100644 --- a/.github/workflows/markdownlint-projects.yml +++ b/.github/workflows/markdownlint-projects.yml @@ -3,6 +3,7 @@ on: pull_request: paths: - '**/project_*.md' + - '**/project-*.md' - '!*' - '!archive/**' - '!templates/**' @@ -20,6 +21,7 @@ jobs: with: files: | **/project_*.md + **/project-*.md !* !archive/** !templates/** From 102edd6175d06efbe284f0e600eb2001f9d63570 Mon Sep 17 00:00:00 2001 From: MaoShizhong <122839503+MaoShizhong@users.noreply.github.com> Date: Sat, 2 Nov 2024 01:23:45 +0000 Subject: [PATCH 2/2] Exclude project- files from lesson linting workflow --- .github/workflows/markdownlint-lessons.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/markdownlint-lessons.yml b/.github/workflows/markdownlint-lessons.yml index 64c5beceb60..0a83ded22df 100644 --- a/.github/workflows/markdownlint-lessons.yml +++ b/.github/workflows/markdownlint-lessons.yml @@ -5,6 +5,7 @@ on: - '**.md' - '!*' - '!**/project_*' + - '!**/project-*' - '!archive/**' - '!templates/**' - '!markdownlint/docs/**' @@ -23,6 +24,7 @@ jobs: **.md !* !**/project_* + !**/project-* !archive/** !templates/** !markdownlint/docs/**