]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Update dangerfile.py to know about ':cve:'
authorMark Andrews <marka@isc.org>
Tue, 10 Oct 2023 00:25:05 +0000 (11:25 +1100)
committerMark Andrews <marka@isc.org>
Tue, 17 Oct 2023 01:05:46 +0000 (01:05 +0000)
dangerfile.py

index 709f2d54cb59e3e1ebee1460a1768701d82a4cec..1d077d2ce036013f8d24ac517b2b9dc4ce57e255 100644 (file)
@@ -386,7 +386,7 @@ if lines_containing(changes_added_lines, "[security]"):
             "This merge request fixes a security issue. "
             "Please add a CHANGES entry which includes a CVE identifier."
         )
-    if not lines_containing(notes_added_lines, "CVE-20"):
+    if not lines_containing(notes_added_lines, ":cve:`20"):
         fail(
             "This merge request fixes a security issue. "
             "Please add a release note which includes a CVE identifier."