Skip to content

Improve error message and merge heuristic#45

Merged
orta merged 2 commits intoOSS-Docs-Tools:masterfrom
hyperupcall:hyperupcall-bug-fixes-2
Jun 8, 2024
Merged

Improve error message and merge heuristic#45
orta merged 2 commits intoOSS-Docs-Tools:masterfrom
hyperupcall:hyperupcall-bug-fixes-2

Conversation

@hyperupcall
Copy link
Copy Markdown
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
Copy Markdown
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
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