2 个仓库
Systems that verify the compliance of code changes against defined standards before allowing a version control commit.
Distinct from Git Commit Signature Verification: None of the candidates describe the act of validating the content of a commit to prevent non-compliant code.
Explore 2 awesome GitHub repositories matching testing & quality assurance · Commit Validators. Refine with filters or upvote what's useful.
GrumPHP 是一个 Git 提交验证器和 PHP 代码质量编排器。它充当 Git 钩子 (hook) 管理器,自动化脚本触发器的安装和执行,以在 PHP 项目中强制执行代码质量标准。 该工具通过在 Git 工作流期间运行一系列验证和 linting 任务,防止不合规的代码被提交。它将自动化质量检查直接集成到本地开发环境中,以维护项目标准。 该系统通过执行质量测试和自动化 Git 钩子来管理预提交 (pre-commit) 测试工作流。它使用基于任务的流水线来运行验证工具,并验证退出代码以确定是否应完成提交。
Prevents non-compliant code from being committed by running automated tests and checks during the Git workflow.
Overcommit 是一个 Git 钩子管理器和预提交验证框架,旨在自动化在各种 Git 事件期间执行脚本和检查。它作为一个工作流自动化工具,确保在更改提交或推送到远程存储库之前满足代码质量和项目标准。 该系统通过全面的基于 YAML 的配置脱颖而出,该配置允许对钩子行为进行详细控制,包括文件执行过滤、有条件跳过和钩子依赖项管理。它提供专门的角色,例如提交消息验证器以强制执行命名约定,以及推送防护以阻止不稳定或不安全的代码到达远程分支。 该项目涵盖了广泛的功能领域,包括多语言静态分析和 Linting、自动化依赖管理以及安全验证(如密钥扫描和许可证合规性)。它还通过受保护的分支强制执行和并行钩子执行来管理存储库完整性,以优化性能。
Performs syntax checks on Ruby files during the pre-commit phase to catch parse errors.