소스 검색

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




불러오는 중...
취소
저장