[ci] add paths-ignore for format and static check (#7845)
This commit is contained in:
parent
aee1bd532e
commit
5b171fba6a
9
.github/workflows/file_check.yml
vendored
9
.github/workflows/file_check.yml
vendored
@ -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:
|
||||
|
4
.github/workflows/static_code_analysis.yml
vendored
4
.github/workflows/static_code_analysis.yml
vendored
@ -4,6 +4,10 @@ on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
paths-ignore:
|
||||
- documentation/**
|
||||
- '**/README.md'
|
||||
- '**/README_zh.md'
|
||||
|
||||
jobs:
|
||||
scancode_job:
|
||||
|
Loading…
x
Reference in New Issue
Block a user