From e26d1b8a8f70a6f5a30c8629422da271890a1e6f Mon Sep 17 00:00:00 2001 From: Yixiao Fang <36138628+fangyixiao18@users.noreply.github.com> Date: Mon, 20 Dec 2021 15:08:50 +0800 Subject: [PATCH] [CI] skip CI when some specific files were changed (#154) --- .github/workflows/build.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3d983d1df..5c5c354ae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,7 +3,22 @@ name: build -on: [push, pull_request] +on: + push: + paths-ignore: + - 'README.md' + - 'README_zh-CN.md' + - 'docs/**' + - 'model-index.yml' + - 'configs/**.md' + + pull_request: + paths-ignore: + - 'README.md' + - 'README_zh-CN.md' + - 'docs/**' + - 'model-index.yml' + - 'configs/**.md' concurrency: group: ${{ github.workflow }}-${{ github.ref }}