Repository: C0D1UM/django-secured-fields (language: python)

Issue:
Run CI only of code changes



Discussion / hints:

Fix patch:
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a2557b2..50fe441 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -3,8 +3,15 @@ name: CI
 on:
   push:
     branches: [ main ]
+    paths:
+      - secured_fields
+      - test_secured_fields
   pull_request:
     branches: [ main ]
+    paths:
+      - secured_fields
+      - test_secured_fields
+  workflow_dispatch:
 
 jobs:
   lint:
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 1f89f87..c19b53c 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -14,11 +14,15 @@ name: "CodeQL"
 on:
   push:
     branches: [ main ]
+    paths:
+      - secured_fields
+      - test_secured_fields
   pull_request:
     # The branches below must be a subset of the branches above
     branches: [ main ]
-  schedule:
-    - cron: '0 20 * * 5'
+    paths:
+      - secured_fields
+      - test_secured_fields
 
 jobs:
   analyze:


Test patch:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index c615733..94b3dda 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -26,6 +26,7 @@ jobs:
   test:
     runs-on: ubuntu-latest
     strategy:
+      fail-fast: false
       matrix:
         python: [ "3.8", "3.9", "3.10" ]
         django: [ "3.1", "3.2" ]