From b0947777ec2f8eef7353078a1248cd5b4f529fe2 Mon Sep 17 00:00:00 2001 From: Linus Heckemann Date: Wed, 7 May 2025 20:17:24 +0200 Subject: [PATCH] build-release-notes: ignore dotfiles Editors may leave these hanging about, but they're not likely to be valid release notes Change-Id: Ie3c9a6e849c6d54514ac25370a8d847a0caf499d --- maintainers/build-release-notes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintainers/build-release-notes.py b/maintainers/build-release-notes.py index 2813e4744..fe8125e7d 100644 --- a/maintainers/build-release-notes.py +++ b/maintainers/build-release-notes.py @@ -131,7 +131,7 @@ def run_on_dir(author_info: AuthorInfoDB, d): d = pathlib.Path(d) if not d.is_dir(): raise ValueError(f'provided path {d} is not a directory') - paths = pathlib.Path(d).glob('*.md') + paths = pathlib.Path(d).glob('[!.]*.md') entries = defaultdict(list) for p in paths: try: