mirror of
https://github.com/HuLaSpark/HuLa.git
synced 2026-09-24 23:11:59 +08:00
fix(common): 🐛 修复一些已知问题 (#137)
* fix(common): 🐛 修复一些已知问题 优化消息跳转|增加mac系统下消息的徽标提示 * fix(action): 🐛 修复action中pr bot的配置
This commit is contained in:
@@ -21,12 +21,21 @@ jobs:
|
||||
id: diff
|
||||
run: |
|
||||
git fetch origin ${{ github.event.pull_request.base.sha }}
|
||||
# 只获取特定文件类型的变更
|
||||
# 排除配置文件,只分析源代码文件
|
||||
DIFF=$(git diff ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} -- \
|
||||
'src/**/*.vue' \
|
||||
'src/**/*.ts' \
|
||||
'src/**/*.tsx' \
|
||||
'src-tauri/**/*.rs')
|
||||
'src-tauri/**/*.rs' \
|
||||
':!:**/*.json' \
|
||||
':!:**/*.yaml' \
|
||||
':!:**/*.yml' \
|
||||
':!:**/*.config.*' \
|
||||
':!:**/*.lock' \
|
||||
':!:**/*.toml' \
|
||||
':!:.env*' \
|
||||
':!:.eslintrc*' \
|
||||
':!:.prettierrc*')
|
||||
|
||||
# 如果没有相关文件变更,设置一个提示信息
|
||||
if [ -z "$DIFF" ]; then
|
||||
|
||||
Reference in New Issue
Block a user