]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove 'No CHANGES' check from dangerfile
authorPetr Špaček <pspacek@isc.org>
Thu, 22 Aug 2024 15:17:15 +0000 (17:17 +0200)
committerPetr Špaček <pspacek@isc.org>
Fri, 23 Aug 2024 07:38:27 +0000 (07:38 +0000)
This label is now handled automatically by 'merged-metadata' CI job.

dangerfile.py

index 00f3a8a44cc1a4027f091ebd9920b00185775f5b..b3b84059c7b2329fc54277fb594a2e7a7a3b9ec2 100644 (file)
@@ -331,31 +331,6 @@ elif not approved:
         "It should not be merged until it is approved."
     )
 
-###############################################################################
-# Changelog entries
-###############################################################################
-#
-# FAIL if any of the following is true:
-#
-# * The merge request title doesn't produce a changelog entry, but it does not have
-#   the "No CHANGES" label set.
-#
-# * The merge request title produces a changelog entry, but it has the "No CHANGES"
-#   label set.
-
-changes_modified = mr_title_audience in ["usr", "pkg", "dev"]
-no_changes_label_set = "No CHANGES" in mr_labels
-if not changes_modified and not no_changes_label_set:
-    fail(
-        "MR title doesn't produce a new changelog entry. "
-        "Add a `dev:`|`usr:`|`pkg:` audience to MR title or set the *No CHANGES* label."
-    )
-if changes_modified and no_changes_label_set:
-    fail(
-        "MR title produces a new changelog entry. Unset the *No Changes* label "
-        "or remove the `dev:`|`usr:`|`pkg:` audience from the MR title."
-    )
-
 ###############################################################################
 # RELEASE NOTES
 ###############################################################################