Support to automatically close pull requests from master branch
Opened this issue · 0 comments
PeterDaveHello commented
Something like
$ curl -H 'Accept: application/vnd.github.black-cat-preview+json' -X PATCH -H 'Authorization: token xxxxxxx' -d '{"state":"closed"}' https://api.github.com/repos/cdnjs/cdnjs/pulls/${PR_NUMBER}