Kaynağa Gözat

Try only running code checks when code changes.

jamesread 4 yıl önce
ebeveyn
işleme
d139f24d13

+ 6 - 0
.github/workflows/codeql-analysis.yml

@@ -13,6 +13,12 @@ name: "CodeQL"
 
 
 on:
 on:
   push:
   push:
+    paths: 
+      - 'cmd/**'
+      - 'internal/**'
+      - 'webui/**'
+      - 'integration-tests/**'
+      - 'OliveTin.proto'
     branches: [ main ]
     branches: [ main ]
   pull_request:
   pull_request:
     # The branches below must be a subset of the branches above
     # The branches below must be a subset of the branches above

+ 9 - 1
.github/workflows/codestyle.yml

@@ -1,6 +1,14 @@
 name: "Codestyle checks"
 name: "Codestyle checks"
 
 
-on: [push]
+on:
+  push:
+    paths:
+      - 'cmd/**'
+      - 'internal/**'
+      - 'webui/**'
+      - 'integration-tests/**'
+      - 'OliveTin.proto'
+
 
 
 jobs:
 jobs:
   codestyle:
   codestyle: