Dave Anderson on Nostr: It's funny how github's API vomits out _so much_ information about pull requests, but ...
It's funny how github's API vomits out _so much_ information about pull requests, but nowhere in that pile of data can you find the PR's merge base.
If you're about to go "akshually the response contains base.sha", I hope you didn't write any CI code based on that assumption, because it's wrong: https://github.com/orgs/community/discussions/39880 . base.sha references _some_ commit on the target branch, which could be before/on/after the desired merge base.
If you're about to go "akshually the response contains base.sha", I hope you didn't write any CI code based on that assumption, because it's wrong: https://github.com/orgs/community/discussions/39880 . base.sha references _some_ commit on the target branch, which could be before/on/after the desired merge base.