From 4a115bc2dadefb7bf816b7249a38de95c722b764 Mon Sep 17 00:00:00 2001 From: QwQ2000 <396707050@qq.com> Date: Fri, 3 Dec 2021 00:24:06 +0800 Subject: [PATCH] Skip CI when some specific files were changed (#1041) --- .github/workflows/build.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 15f9657a50..8b800b5c7b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,10 +5,24 @@ name: build on: push: - branches: - - master + branches: + - master + paths-ignore: + - 'README.md' + - 'README_zh-CN.md' + - 'docs/**' + - 'docs_zh-CN/**' + - 'examples/**' + - '.dev_scripts/**' pull_request: + paths-ignore: + - 'README.md' + - 'README_zh-CN.md' + - 'docs/**' + - 'docs_zh-CN/**' + - 'examples/**' + - '.dev_scripts/**' jobs: lint: