Explorar o código

fix: useless CI style checks (#5559)

Yeuoly hai 10 meses
pai
achega
f8d97be932
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      .github/workflows/style.yml

+ 2 - 0
.github/workflows/style.yml

@@ -11,6 +11,7 @@ concurrency:
 
 jobs:
   python-style:
+    if: contains(github.event.pull_request.changed_files, 'api/')
     name: Python Style
     runs-on: ubuntu-latest
 
@@ -50,6 +51,7 @@ jobs:
         run: echo "Please run 'dev/reformat' to fix the fixable linting errors."
 
   web-style:
+    if: contains(github.event.pull_request.changed_files, 'web/')
     name: Web Style
     runs-on: ubuntu-latest
     defaults: