]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Mark merged security fixes as "Not released yet" 11989/head
authorPetr Špaček <pspacek@isc.org>
Tue, 5 May 2026 13:04:36 +0000 (15:04 +0200)
committerMichał Kępień <michal@isc.org>
Thu, 7 May 2026 16:12:45 +0000 (18:12 +0200)
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 cacb5701b9af2879d6f0f4ac42014ea75d1ecd53..d813a4a4094ae3ec0910ef5af95e68852ef1ea1d 100644 (file)
@@ -1089,6 +1089,6 @@ pairwise:
 merged-metadata:
   <<: *post_merge
   rules:
-    - if: '$CI_PIPELINE_SOURCE == "push" && ($CI_COMMIT_REF_NAME =~ /^bind-9.[0-9]+(-sub)?$/ || $CI_COMMIT_REF_NAME =~ /^bind-9.[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:
     - bind9-qa/releng/after_merge.py "$CI_PROJECT_ID" "$MERGE_REQUEST_ID"