What is Nostr?
Dave Anderson /
npub1627…je7e
2024-07-24 23:20:46

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.
Author Public Key
npub16272q2qvgcswvunpmmr7lelwcjcu5vhdxlyyjkxkca44w5npxtzs9wje7e