重新格式化YAML文件 重新格式化YAML文件 去除尾随的白色 将制表符转换为空格 如何使用它? 这是Github动作,因此必须将其添加到github工作流程中。 在所有推送到存储库的所有操作上执行此操作的简单示例是在.github/workflows下添加一个带有以下内容的reformatsql.yml文件 on : [push] jobs : reformat-sql : runs-on : ubuntu-latest steps : # Checkout the source code so we have some files to look at.