Ver código fonte

ci: consider svg as docs as well

version-14
phot0n 2 anos atrás
pai
commit
b0cea224c8
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      .github/helper/roulette.py

+ 1
- 1
.github/helper/roulette.py Ver arquivo

@@ -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))




Carregando…
Cancelar
Salvar