CI: Don't run the tests with coverage control for pull requests
authorAlexander Popov <alex.popov@linux.com>
Fri, 3 May 2024 11:26:39 +0000 (14:26 +0300)
committerAlexander Popov <alex.popov@linux.com>
Fri, 3 May 2024 11:26:39 +0000 (14:26 +0300)
Refers to #126

.github/workflows/engine_unit-test.yml
.github/workflows/functional_test.yml

index 8357264f06686955e962a5ab674616de7c066182..86120b0fba8a4115f087736cebed4fef912077f6 100644 (file)
@@ -3,12 +3,12 @@ name: engine unit-test
 on:
   push:
     branches: [ master ]
-  pull_request:
-    branches: [ master ]
 
 jobs:
   engine_unit-test:
 
+    if: github.repository == 'a13xp0p0v/kernel-hardening-checker'
+
     runs-on: ubuntu-latest
 
     strategy:
index b9590eeda6d415736f5a65b68458471df9ee508c..e197bacb6b8f2ce866b7aac0b2e86731d4eb8207 100644 (file)
@@ -3,12 +3,12 @@ name: functional test
 on:
   push:
     branches: [ master ]
-  pull_request:
-    branches: [ master ]
 
 jobs:
   functional_test:
 
+    if: github.repository == 'a13xp0p0v/kernel-hardening-checker'
+
     runs-on: ubuntu-latest
 
     strategy: