Skip to content

Commit 71bb05c

Browse files
committed
fix: allow security policy artifacts (#70)
1 parent 99a006e commit 71bb05c

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

‎scripts/validate_docs.py‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,12 @@ def fail(message: str) -> None:
1919

2020

2121
def validate_links(root: Path) -> None:
22-
markdown_files = [root / "README.md", root / "CONTRIBUTING.md", *sorted((root / "docs").glob("*.md"))]
22+
markdown_files = [
23+
root / "README.md",
24+
root / "CONTRIBUTING.md",
25+
root / "SECURITY.md",
26+
*sorted((root / "docs").glob("*.md")),
27+
]
2328
for document in markdown_files:
2429
text = document.read_text(encoding="utf-8")
2530
for raw_target in LINK_PATTERN.findall(text):

‎scripts/validate_package_artifact.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"MANIFEST.in",
2727
"PKG-INFO",
2828
"README.md",
29+
"SECURITY.md",
2930
"setup.cfg",
3031
"VERSION",
3132
"base_manifest.yaml",

0 commit comments

Comments
 (0)