Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pr settings unapprove on update #263

Merged
merged 3 commits into from
Feb 8, 2021

Conversation

zsandoz
Copy link
Contributor

@zsandoz zsandoz commented Feb 7, 2021

Adds unapproveOnUpdate to PullRequestSettings and CreatePullRequestSettings in order to support getting and setting that property on repositories' PR settings.

closes #262

Please do not create a Pull Request without first creating an ISSUE.
Any change needs to be discussed before proceeding.
Failure to do so may result in the rejection of the Pull Request.

Explain the details for making this change: What existing problem does the Pull Request solve? Why is this feature beneficial?

On adding new feautes/endpoints

No more than 1 endpoint should be coded within a Pull Request.
This alone requires enough code to review and adding more than 1 WILL result in your Pull Request either being ignored or rejected outright.

On adding Mock and Integ Tests

At least 2 mock tests and 2 integ tests are required prior to merging.
Each pair should should test what the success and failure of added change looks like.
More complicated additions will of course require more tests.

On CI testing (currently using travis)

Code will not be reviewed until CI passes.
Current CI does NOT exercise integ tests and so each Pull Request will have to be run manually by one of the maintainers to confirm it works as expected: please be patient.

On automtatic closing of ISSUES

Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if such).

@cdancy cdancy self-assigned this Feb 8, 2021
@cdancy cdancy added this to the v2.7.2 milestone Feb 8, 2021
@cdancy cdancy merged commit bd036cb into cdancy:master Feb 8, 2021
@cdancy
Copy link
Owner

cdancy commented Feb 8, 2021

LGTM and thanks for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for 'unapproveOnUpdate' repository pull request setting
2 participants