]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3732] Do not run fuzz jobs on MR creation
authorAndrei Pavel <andrei@isc.org>
Mon, 28 Apr 2025 06:41:07 +0000 (09:41 +0300)
committerAndrei Pavel <andrei@isc.org>
Mon, 28 Apr 2025 06:41:16 +0000 (09:41 +0300)
.gitlab-ci.yml

index 2c5b8ae000be15502e110cb2382826ee5783a7db..2ca473ce575ba34befbcfb139233ee994f49139a 100644 (file)
@@ -167,13 +167,19 @@ fuzz:
     # Prevent duplicate pipelines.
     - if: $CI_OPEN_MERGE_REQUESTS && $CI_COMMIT_BRANCH == null
       when: never
-    # Make the job manual on the MR.
-    - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS || $CI_PIPELINE_SOURCE == 'merge_request_event'
+    # Make the job manual on creating of MR.
+    - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
       variables:
         MODE: "code-change"
       when: manual
       allow_failure: true
-    # Run on any other event, including push to MR branch and push to master.
+    # Make the job manual on push to MR.
+    - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
+      variables:
+        MODE: "code-change"
+      when: manual
+      allow_failure: true
+    # Run on any other event, including push to master.
     - when: always
   before_script:
     # Get GitLab's container id.