From 2c5059c8a744500a1e1e10e52715ec68e854eaef Mon Sep 17 00:00:00 2001 From: MaoShizhong <122839503+MaoShizhong@users.noreply.github.com> Date: Mon, 25 Nov 2024 18:44:40 +0000 Subject: [PATCH] GH Workflows: Include dash delimiter for projects (#28985) * Include dash delimiter * Exclude project- files from lesson linting workflow --- .github/workflows/markdownlint-lessons.yml | 2 ++ .github/workflows/markdownlint-projects.yml | 2 ++ 2 files changed, 4 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/** 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/**