fix: 排除 workflow 文件的自动提交以避免权限问题
在格式化代码提交时排除 .github/ 目录,避免触发以下错误:
"refusing to allow a GitHub App to create or update workflow without workflows permission"
修改内容:
- 在 git add -A 后添加 git restore --staged .github/
- 只提交源代码的格式化,不提交 workflow 文件
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>