How to Configure Typo Code Health Checks to Block a PR Merge in Git
Configuring Your Git Provider Integration
Enable Status Checks
To integrate Typo Code Health seamlessly with your Git provider, ensure that the following options are enabled:
GitHub: Status checks
Bitbucket: Pull request status
Set up default Git provider integration settings for new repositories. This ensures all new repositories adopt consistent configurations from the start.
Blocking Merging Pull Requests (Optional)
Once you're satisfied with Typo Code Health's feedback, you can enforce quality gates to block pull requests that don’t meet the required standards. This is a powerful way to integrate code quality and coverage analysis into your development pipeline while safeguarding against unwelcome changes.
Important Considerations Before Enabling
To avoid false positives that may block your team's work, ensure the following:
Verify that Typo Code Health is reporting the intended status on pull requests.
Review and fine-tune your repository’s tool settings, code pattern configurations, and quality gate settings.
Instructions for Blocking Pull Requests
Follow your Git provider’s instructions to enforce merge restrictions:
🎉 You're All Set! Congratulations on successfully integrating and configuring Typo Code Health for your first repository! 🚀
Last updated