From fde2674893c696d996da5b36324c67eeb1cd755c Mon Sep 17 00:00:00 2001 From: ZePan110 Date: Thu, 19 Sep 2024 21:08:23 +0800 Subject: [PATCH] Excluded mailboxes. Signed-off-by: ZePan110 --- .github/workflows/pr-path-detection.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-path-detection.yml b/.github/workflows/pr-path-detection.yml index 70fb18b6..e3fa0cb4 100644 --- a/.github/workflows/pr-path-detection.yml +++ b/.github/workflows/pr-path-detection.yml @@ -70,7 +70,7 @@ jobs: fi link_head="https://github.com/opea-project/docs/blob/main" IFS=$'\n' - png_lines=$(grep -Eo '\]\([^)]+\)' --include='*.md' -r .|grep -Ev 'http') + png_lines=$(grep -Eo '\]\([^)]+\)' --include='*.md' -r .|grep -Ev 'http'|grep -Ev 'mailto') if [ -n "$png_lines" ]; then for png_line in $png_lines; do echo "$png_line"