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

refactor: removed logic of contributor approvals #23

Conversation

YanVictorSN
Copy link

Resolves #22

@@ -33,7 +33,6 @@ export async function getMergeTimeoutAndApprovalRequiredCount(context: Context,
};
const timeoutContributor = {
mergeTimeout: mergeTimeout?.contributor,
requiredApprovalCount: approvalsRequired?.contributor,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think that is proper. If the user is a contributor then no requiredApprovalCount will be returned, which subsequently is most likely to fail when calling attemptMerging. Could you provide some QA?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. I'm modifying the logic and creating QA tests.

Copy link

@YanVictorSN, this task has been idle for a while. Please provide an update.

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

Successfully merging this pull request may close these issues.

Contributor Approvals Should Not Be Considered
2 participants