Merge branch '4365-update-dangerfile-py-to-know-about-cve-bind-9.18' into 'bind-9.18'

[9.18] Resolve "Update dangerfile.py to know about `:cve:`"

See merge request isc-projects/bind9!8391
This commit is contained in:
Mark Andrews
2023-10-17 02:51:34 +00:00

View 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."