Text Share Online

chek

Consider yourself as a github expert and i want you to let me know how I can perform/config below validations in github so prepare a step by step md file using which I will be able to perform and in last you can provide suggestion if I can add any new rules apart from listed rules for configuring
Pull Request Rules – apply follwoing additional PR rules to each repo:
Unit test: Atleast 80% code coverage on source/new code
Sonar – ZERO code smell in new code – check if we can apply any threshold
Build should be success
Required review from code owners
Atleast one approval is required
Merge into main should be approved only specific approvers
Block force push to main
No critical/high security vulnerability should be present in source code
[Manuall review checklist: ] Business logic, errro handling, performance impact, compliance, etc
Delete source branch after PR has been merged

Share This: