From c50c0b47c1cc5862186b0f4e1a524fdf59cd6f52 Mon Sep 17 00:00:00 2001 From: fangyixiao18 Date: Mon, 20 Dec 2021 14:53:08 +0800 Subject: [PATCH] [CI] skip CI when some specific files were changed --- .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 }}