From: Mark Andrews Date: Tue, 10 Oct 2023 00:25:05 +0000 (+1100) Subject: Update dangerfile.py to know about ':cve:' X-Git-Tag: v9.19.18~38^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dbc2167325cb412e11dcaee4df7ccc7563c631e0;p=thirdparty%2Fbind9.git Update dangerfile.py to know about ':cve:' --- diff --git a/dangerfile.py b/dangerfile.py index 709f2d54cb5..1d077d2ce03 100644 --- a/dangerfile.py +++ b/dangerfile.py @@ -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."