Sfoglia il codice sorgente

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

Man, Jianting (Meco) 2 anni fa
parent
commit
5b171fba6a

+ 8 - 1
.github/workflows/file_check.yml

@@ -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 - 0
.github/workflows/static_code_analysis.yml

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