使用GitHub大规模提高代码质量
不一致的代码质量会降低每个团队的速度,并增加你不容易看到的风险。 GitHub Code Quality 在合并问题并报告整个组织中的代码运行状况之前,会捕获问题。 遵循此采用路径来评估该功能、运行试点、证明其价值并大规模推出。
Phase 1: Evaluate and build your business case
3 文章1-2 hoursEvaluate Code Quality alongside other code quality tools to determine whether it meets your organization's needs and build a business case. Review its use cases, supported languages, quality findings, and code coverage reporting. Learn how usage is billed and which cost controls are available before you plan your budget.
Phase 1: Evaluate and build your business case
3 文章1-2 hoursEvaluate Code Quality alongside other code quality tools to determine whether it meets your organization's needs and build a business case. Review its use cases, supported languages, quality findings, and code coverage reporting. Learn how usage is billed and which cost controls are available before you plan your budget.
Phase 2: Plan your pilot
2 文章2-4 hoursSelect a small, active group of repositories for your pilot and decide how you'll measure success. Identify the teams and repository owners who will provide feedback, prepare them for the findings they'll see on pull requests, and plan how you'll communicate remediation options, gather feedback, and monitor costs during the pilot.
Phase 2: Plan your pilot
2 文章2-4 hoursSelect a small, active group of repositories for your pilot and decide how you'll measure success. Identify the teams and repository owners who will provide feedback, prepare them for the findings they'll see on pull requests, and plan how you'll communicate remediation options, gather feedback, and monitor costs during the pilot.
Phase 3: Launch your pilot
4 文章1-2 hoursAllow Code Quality for your enterprise, then enable it for your pilot repositories. Configure thresholds for Code Quality findings and code coverage. Start the ruleset in evaluate mode to see which pull requests would be blocked, adjust the thresholds based on the results, then enable enforcement.
Phase 3: Launch your pilot
4 文章1-2 hoursAllow Code Quality for your enterprise, then enable it for your pilot repositories. Configure thresholds for Code Quality findings and code coverage. Start the ruleset in evaluate mode to see which pull requests would be blocked, adjust the thresholds based on the results, then enable enforcement.
Phase 4: Assess the pilot and decide
4 文章1-2 weeksCompare the pilot results with the success measures you defined. Review code health at the repository and organization level, monitor costs, and gather feedback from developers. Use what you learn to decide whether to expand, adjust, or stop the rollout.
Phase 4: Assess the pilot and decide
4 文章1-2 weeksCompare the pilot results with the success measures you defined. Review code health at the repository and organization level, monitor costs, and gather feedback from developers. Use what you learn to decide whether to expand, adjust, or stop the rollout.
Phase 5: Scale and optimize
3 文章OngoingExpand Code Quality to more repositories based on what you learned from the pilot. As you expand, adjust organization-level enablement and enforcement, and continue to monitor code health, license usage, GitHub Actions minutes, and GitHub AI Credits usage.
Phase 5: Scale and optimize
3 文章OngoingExpand Code Quality to more repositories based on what you learned from the pilot. As you expand, adjust organization-level enablement and enforcement, and continue to monitor code health, license usage, GitHub Actions minutes, and GitHub AI Credits usage.
Phase 1: Evaluate and build your business case
3 文章1-2 hoursEvaluate Code Quality alongside other code quality tools to determine whether it meets your organization's needs and build a business case. Review its use cases, supported languages, quality findings, and code coverage reporting. Learn how usage is billed and which cost controls are available before you plan your budget.
Phase 1: Evaluate and build your business case
3 文章1-2 hoursEvaluate Code Quality alongside other code quality tools to determine whether it meets your organization's needs and build a business case. Review its use cases, supported languages, quality findings, and code coverage reporting. Learn how usage is billed and which cost controls are available before you plan your budget.
Phase 2: Plan your pilot
2 文章2-4 hoursSelect a small, active group of repositories for your pilot and decide how you'll measure success. Identify the teams and repository owners who will provide feedback, prepare them for the findings they'll see on pull requests, and plan how you'll communicate remediation options, gather feedback, and monitor costs during the pilot.
Phase 2: Plan your pilot
2 文章2-4 hoursSelect a small, active group of repositories for your pilot and decide how you'll measure success. Identify the teams and repository owners who will provide feedback, prepare them for the findings they'll see on pull requests, and plan how you'll communicate remediation options, gather feedback, and monitor costs during the pilot.
Phase 3: Launch your pilot
4 文章1-2 hoursAllow Code Quality for your enterprise, then enable it for your pilot repositories. Configure thresholds for Code Quality findings and code coverage. Start the ruleset in evaluate mode to see which pull requests would be blocked, adjust the thresholds based on the results, then enable enforcement.
Phase 3: Launch your pilot
4 文章1-2 hoursAllow Code Quality for your enterprise, then enable it for your pilot repositories. Configure thresholds for Code Quality findings and code coverage. Start the ruleset in evaluate mode to see which pull requests would be blocked, adjust the thresholds based on the results, then enable enforcement.
Phase 4: Assess the pilot and decide
4 文章1-2 weeksCompare the pilot results with the success measures you defined. Review code health at the repository and organization level, monitor costs, and gather feedback from developers. Use what you learn to decide whether to expand, adjust, or stop the rollout.
Phase 4: Assess the pilot and decide
4 文章1-2 weeksCompare the pilot results with the success measures you defined. Review code health at the repository and organization level, monitor costs, and gather feedback from developers. Use what you learn to decide whether to expand, adjust, or stop the rollout.
Phase 5: Scale and optimize
3 文章OngoingExpand Code Quality to more repositories based on what you learned from the pilot. As you expand, adjust organization-level enablement and enforcement, and continue to monitor code health, license usage, GitHub Actions minutes, and GitHub AI Credits usage.
Phase 5: Scale and optimize
3 文章OngoingExpand Code Quality to more repositories based on what you learned from the pilot. As you expand, adjust organization-level enablement and enforcement, and continue to monitor code health, license usage, GitHub Actions minutes, and GitHub AI Credits usage.