🔧 chore(ci): relax gitattributes check
This commit is contained in:
@@ -212,7 +212,9 @@ jobs:
|
|||||||
overall_fail=1
|
overall_fail=1
|
||||||
fi
|
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 更新成功"
|
echo "✅ .gitattributes 更新成功"
|
||||||
else
|
else
|
||||||
echo "❌ .gitattributes 更新失败"
|
echo "❌ .gitattributes 更新失败"
|
||||||
|
|||||||
Reference in New Issue
Block a user