Sfoglia il codice sorgente

ci: consider svg as docs as well

version-14
phot0n 2 anni fa
parent
commit
b0cea224c8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      .github/helper/roulette.py

+ 1
- 1
.github/helper/roulette.py Vedi File

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




Caricamento…
Annulla
Salva