[ci] add paths-ignore for format and static check (#7845)

This commit is contained in:
Man, Jianting (Meco) 2023-07-23 06:52:08 -04:00 committed by GitHub
parent aee1bd532e
commit 5b171fba6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 1 deletions

View File

@ -1,6 +1,13 @@
name: Check File Format and License
on: [pull_request]
on:
pull_request:
branches:
- master
paths-ignore:
- documentation/**
- '**/README.md'
- '**/README_zh.md'
jobs:
scancode_job:

View File

@ -4,6 +4,10 @@ on:
pull_request:
branches:
- master
paths-ignore:
- documentation/**
- '**/README.md'
- '**/README_zh.md'
jobs:
scancode_job: