How to Configure Typo Code Health Checks to Block a PR Merge in Git
Last updated
Last updated
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.
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.
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.
Follow your Git provider’s instructions to enforce merge restrictions:
GitHub:
Bitbucket:
🎉 You're All Set! Congratulations on successfully integrating and configuring Typo Code Health for your first repository! 🚀