2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-02 07:35:26 +00:00

Update dangerfile.py to know about ':cve:'

This commit is contained in:
Mark Andrews
2023-10-10 11:25:05 +11:00
parent 86915a1f40
commit dbc2167325

View File

@@ -386,7 +386,7 @@ if lines_containing(changes_added_lines, "[security]"):
"This merge request fixes a security issue. " "This merge request fixes a security issue. "
"Please add a CHANGES entry which includes a CVE identifier." "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( fail(
"This merge request fixes a security issue. " "This merge request fixes a security issue. "
"Please add a release note which includes a CVE identifier." "Please add a release note which includes a CVE identifier."