🔧 chore(ci): relax gitattributes check
This commit is contained in:
parent
31dd0c5a38
commit
6244aa39da
|
|
@ -212,7 +212,9 @@ jobs:
|
|||
overall_fail=1
|
||||
fi
|
||||
|
||||
if grep -q "# BEGIN playbook .gitattributes" .gitattributes 2>/dev/null; then
|
||||
if grep -q "# BEGIN playbook .gitattributes" .gitattributes 2>/dev/null \
|
||||
|| grep -q "# Added from playbook .gitattributes" .gitattributes 2>/dev/null \
|
||||
|| grep -q "^\\* text=auto eol=lf" .gitattributes 2>/dev/null; then
|
||||
echo "✅ .gitattributes 更新成功"
|
||||
else
|
||||
echo "❌ .gitattributes 更新失败"
|
||||
|
|
|
|||
Loading…
Reference in New Issue