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

Improve error message and merge heuristic #45

Merged
merged 2 commits into from
Jun 8, 2024

Conversation

hyperupcall
Copy link
Contributor

@hyperupcall hyperupcall commented Jun 8, 2024

Hello again!

I came across two bugs in code-owner-self-merge:

This PR fixes those errors. These changes have been active at SchemaStore/schemastore for a week, and things seem to work as expected.

Related to 8714b49 and #34.

According to
https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28#get-a-pull-request,
`mergeable` may be `null` if the background checks to compute
mergability are not finished running. Improve the error message for this
edge case.
@hyperupcall hyperupcall changed the title Hyperupcall bug fixes 2 Bug fixes Jun 8, 2024
@hyperupcall hyperupcall changed the title Bug fixes Improve error messages and merge heuristic Jun 8, 2024
@hyperupcall hyperupcall changed the title Improve error messages and merge heuristic Improve error message and merge heuristic Jun 8, 2024
@orta
Copy link
Collaborator

orta commented Jun 8, 2024

👍🏻 this all seems very reasonable to me, nice work

@orta orta merged commit 3d0e287 into OSS-Docs-Tools:master Jun 8, 2024
2 checks passed
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.

2 participants