From 5a5cb993a2c8cc1b531c404f2f1bc2133b38c6a6 Mon Sep 17 00:00:00 2001 From: del-zhenwu Date: Mon, 29 Nov 2021 14:25:58 +0800 Subject: [PATCH] Ignoring paths (#6615) Signed-off-by: del-zhenwu --- .github/workflows/build.yml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 32d59d3d72d..76ce5144890 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,18 +2,22 @@ name: build on: push: - paths: - - '!demo/**' - - '!docker/**' - - '!tools/**' + paths-ignore: + - '.dev_scripts/**' + - '.github/**.md' + - 'demo/**' + - 'docker/**' + - 'tools/**' pull_request: - paths: - - '!demo/**' - - '!docker/**' - - '!tools/**' - - '!docs/**' - - '!docs_zh-CN/**' + paths-ignore: + - '.dev_scripts/**' + - '.github/**.md' + - 'demo/**' + - 'docker/**' + - 'tools/**' + - 'docs/**' + - 'docs_zh-CN/**' jobs: build_cpu: