chore: config变更,及匹配模式优化
This commit is contained in:
@@ -18,7 +18,21 @@ PATCH_EMAIL="devops@aigc-quickapp.com"
|
||||
|
||||
## 包含的文件模式
|
||||
INCLUDE_PATTERNS=(
|
||||
".+/.*" # 匹配所有子目录下的文件
|
||||
".+/.*" # 匹配所有子目录下的所有文件
|
||||
".env"
|
||||
".htaccess"
|
||||
'.user.ini'
|
||||
'404.html'
|
||||
"composer.json"
|
||||
"index.html"
|
||||
"index.php"
|
||||
"install.lock"
|
||||
"install.php"
|
||||
"nginx.htaccess"
|
||||
"think"
|
||||
"LICENSE"
|
||||
"README.md"
|
||||
"robots.txt"
|
||||
)
|
||||
|
||||
## 排除的文件模式
|
||||
@@ -29,19 +43,21 @@ EXCLUDE_PATTERNS=(
|
||||
"*.swp"
|
||||
"*.swx"
|
||||
"^.github/"
|
||||
"/node_modules/*"
|
||||
"/__pycache__/*"
|
||||
# 排除以下一级文件夹
|
||||
# 排除任何位置的node_modules文件夹及其所有子目录和文件
|
||||
".*/node_modules($|/.*)"
|
||||
# 排除任何位置的__pycache__文件夹及其所有子目录和文件
|
||||
".*/__pycache__($|/.*)"
|
||||
# 排除根目录下的一级文件夹及其所有子目录和文件
|
||||
"^.git/"
|
||||
"^cache/"
|
||||
"^temp/"
|
||||
"^tmp/"
|
||||
"^logs/"
|
||||
"^runtime/"
|
||||
"^uploads/"
|
||||
"^attachment/"
|
||||
"^h5/"
|
||||
"^hwapp/"
|
||||
"^cache($|/.*)"
|
||||
"^temp($|/.*)"
|
||||
"^tmp($|/.*)"
|
||||
"^logs($|/.*)"
|
||||
"^runtime($|/.*)"
|
||||
"^uploads($|/.*)"
|
||||
"^attachment($|/.*)"
|
||||
"^h5($|/.*)"
|
||||
"^hwapp($|/.*)"
|
||||
".DS_Store"
|
||||
"Thumbs.db"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user