Fix mypy typing warnings in engine.py
[kconfig-hardened-check.git] / .github / workflows / engine_unit-test.yml
index b52a1f513d4e929042b9165e572036bd2fdc6bd4..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:
@@ -38,7 +38,7 @@ jobs:
         coverage xml -i -o coverage_unittest.xml
 
     - name: Handle coverage
-      uses: codecov/codecov-action@v3.1.5
+      uses: codecov/codecov-action@v4
       env:
         CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
       with: