message no. 164983
Posted by benaiah in #github at 2017-03-06T23:49:54Z
I'm using the GitHub search API to search for PRs, and I'm using the "head" query value to get PRs of a specific branch. Unfortunately this is doing a substring match - you can see the effect at https://api.github.com/search/issues?q=repo:Benaiah/netlify-cms-test-repo%20type:pr%20state:open%20head:cms/2017-02-24-yada-yada-yada - it returns 2 entries, one of which is the correct one, and one of which simply