You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.
In our team, we have sometimes the problem that we have Pull Requests which are way too big. To enforce the developers to commit smaller chunks for review, it would be interesting to check the size of the PR.
Would it be possible to include a check where i can set the maximum (maybe for someone else also minimum) number of lines changed / additions and deletions?
The text was updated successfully, but these errors were encountered:
I can take up this issue.
Any pointers should I know before starting?
So, another method in PullRequestTasks to get additions, deletions and changed_files from pull-request payload and verify them to be less than config.pull-request.tasks.maximum-additions, maximum-deletions and maximum-changed-files should do the trick, right?
In our team, we have sometimes the problem that we have Pull Requests which are way too big. To enforce the developers to commit smaller chunks for review, it would be interesting to check the size of the PR.
It is possible to get the
additions
anddeletions
in a PR via the GH API: https://developer.github.com/v3/pulls/#get-a-single-pull-requestWould it be possible to include a check where i can set the maximum (maybe for someone else also minimum) number of lines changed / additions and deletions?
The text was updated successfully, but these errors were encountered: