razorpay / go-financial

A go port of numpy-financial functions and more.
MIT License
310 stars 22 forks source link

added danger js to put validation on PR size #32

Closed jaydeepRadadiya closed 2 years ago

jaydeepRadadiya commented 2 years ago
Details Description
Desc Added danger file and CI to restrict PR size
Reference https://razorpay.slack.com/archives/CMM97TZQQ/p1657687676950489
Spec Now PR will fail and merge will be blocked, if PR size is more than 400 lines, excluding test files also If files changes is more than 15 excluding test files
Related PRs and Dependencies Once this merge, need to raise PR in narayan repo to make ci step required
gyanesh-m commented 2 years ago

don't think we need it for this repo.