Browse Source

ci: Fix conflicting job conditions - remove push triggers from grouped build jobs

TheWildJames 6 months ago
parent
commit
653e1269ab
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .github/workflows/main.yml

+ 2 - 2
.github/workflows/main.yml

@@ -197,7 +197,7 @@ jobs:
       feature_set: ${{ inputs.feature_set }}
   
   build-lts:
-    if: ${{ inputs.kernel_build_version == 'all' || inputs.kernel_build_version == 'lts' || github.event_name == 'push' }}
+    if: ${{ inputs.kernel_build_version == 'all' || inputs.kernel_build_version == 'lts' }}
     needs: [download-dependencies, load-configs]
     name: "LTS Kernels"
     strategy:
@@ -227,7 +227,7 @@ jobs:
       feature_set: ${{ inputs.feature_set }}
 
   build-testing:
-    if: ${{ inputs.kernel_build_version == 'all' || inputs.kernel_build_version == 'testing' || github.event_name == 'push' }}
+    if: ${{ inputs.kernel_build_version == 'all' || inputs.kernel_build_version == 'testing' }}
     needs: [download-dependencies, load-configs]
     name: "Testing Kernels"
     strategy: