[CI] skip CI when some specific files were changed (#154)

pull/155/head
Yixiao Fang 2021-12-20 15:08:50 +08:00 committed by GitHub
parent dde842bb59
commit e26d1b8a8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 1 deletions

View File

@ -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 }}