浏览代码

ci: consider svg as docs as well

version-14
phot0n 2 年前
父节点
当前提交
b0cea224c8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      .github/helper/roulette.py

+ 1
- 1
.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))




正在加载...
取消
保存