]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Mark merged security fixes as "Not released yet" 11987/head
authorPetr Špaček <pspacek@isc.org>
Tue, 5 May 2026 13:04:36 +0000 (15:04 +0200)
committerMichał Kępień (GitLab job 7332432) <michal@isc.org>
Thu, 7 May 2026 16:06:01 +0000 (16:06 +0000)
Adjust the triggering rules for the "merged-metadata" CI job so that
merge requests merged into security-* branches are automatically
assigned to the "Not released yet" milestone, just like merge requests
targeting public branches.  This enables merge requests containing
security fixes to be correctly processed by release automation scripts.

(cherry picked from commit afdf7bed602b5518b23409c1a140a797c4e6de34)

.gitlab-ci.yml

index ee6ad20507514fac8d1e0a6c3b361c8f0201155c..86fe0790b7d9054c6b36f6c90ccc53d6d7886af9 100644 (file)
@@ -2635,7 +2635,7 @@ backports:
 merged-metadata:
   <<: *post_merge
   rules:
-    - if: '$CI_PIPELINE_SOURCE == "push" && ($CI_COMMIT_REF_NAME =~ /^bind-9.[0-9]+(-sub)?$/ || $CI_COMMIT_REF_NAME =~ /^v9.[0-9]+.[0-9]+-release$/ || $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH)'
+    - if: '$CI_PIPELINE_SOURCE == "push" && ($CI_COMMIT_REF_NAME =~ /^security-(main|bind-9\.[0-9]+)$/ || $CI_COMMIT_REF_NAME =~ /^bind-9.[0-9]+(-sub)?$/ || $CI_COMMIT_REF_NAME =~ /^v9.[0-9]+.[0-9]+-release$/ || $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH)'
   script:
     - >
       "$CI_PROJECT_DIR"/bind9-qa/releng/after_merge.py "$CI_PROJECT_ID" "$MERGE_REQUEST_ID"