github-codereviews

How do I review an entire codebase on github?

烈酒焚心 提交于 2021-02-11 06:54:53
问题 I would like to review all of the code in a single branch of a git repo on GitHub. (I am a professor, and the code is part of a student's thesis.) Any single commit affects only a small portion of the code. How can I perform a review that allows me to make per-line comments on all of the code from any commit? I believe this question is related to How can I make a github PR requesting review of entire files?, which was never answered. 回答1: Navigate to the repo, then select the branch (for

How to un-approve github review after new commits automatically

坚强是说给别人听的谎言 提交于 2019-11-30 07:59:02
Once a pull request is approved, if there are further commits: The Pull request should go to un-approved state automatically. Can this be done? The ability to Dismiss stale pull request approvals when new commits are pushed is a setting under Require pull request reviews before merging in the branch protection settings . This is disabled by default. This isn't currently offered. You can create an application that listens for push webhook events, queries the API for all Reviews for a Pull Request, and dismisses any that are APPROVED . Here is a Ruby script you could host on heroku. 来源: https:/

How to un-approve github review after new commits automatically

孤街醉人 提交于 2019-11-29 10:48:54
问题 Once a pull request is approved, if there are further commits: The Pull request should go to un-approved state automatically. Can this be done? 回答1: The ability to Dismiss stale pull request approvals when new commits are pushed is a setting under Require pull request reviews before merging in the branch protection settings. This is disabled by default. 回答2: This isn't currently offered. You can create an application that listens for push webhook events, queries the API for all Reviews for a