Quellcode durchsuchen

fix: useless CI style checks (#5559)

Yeuoly vor 10 Monaten
Ursprung
Commit
f8d97be932
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  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: