From b0cea224c8b91ef01bbcf779463c41ad6861f7c6 Mon Sep 17 00:00:00 2001 From: phot0n Date: Sun, 3 Jul 2022 21:03:44 +0530 Subject: [PATCH] ci: consider svg as docs as well --- .github/helper/roulette.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/helper/roulette.py b/.github/helper/roulette.py index 178526592f..c240443e9a 100644 --- a/.github/helper/roulette.py +++ b/.github/helper/roulette.py @@ -49,7 +49,7 @@ def is_frontend_code(file): return file.lower().endswith((".css", ".scss", ".less", ".sass", ".styl", ".js", ".ts", ".vue")) def is_docs(file): - regex = re.compile(r'\.(md|png|jpg|jpeg|csv)$|^.github|LICENSE') + regex = re.compile(r'\.(md|png|jpg|jpeg|csv|svg)$|^.github|LICENSE') return bool(regex.search(file))