فهرست منبع

Try only running code checks when code changes.

jamesread 4 سال پیش
والد
کامیت
d139f24d13
2فایلهای تغییر یافته به همراه15 افزوده شده و 1 حذف شده
  1. 6 0
      .github/workflows/codeql-analysis.yml
  2. 9 1
      .github/workflows/codestyle.yml

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

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

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

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