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

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

Closes #4365

See merge request isc-projects/bind9!8387
This commit is contained in:
Mark Andrews 2023-10-17 01:58:06 +00:00
commit 0d58ce93e5

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