Is there a way to send commits vía API to a pull request made from a not own forked repo.
I can send commits to my own repo.
Sometimes i want to make some changes on a pull request made for other person and the only thing i think is send commits in its forked repo. But the API throws me "Not Found".
Here is the code in curl
curl.exe -i -X PUT -H "Authorization: token TOKEN" -d "{\"message\":\"update\", \"content\": \"SG9sYSBtdW5kaWxsbwo=\", \"branch\" : \"BRANCH\", \"sha\" : \"SHA\"}" "https://api.github.com/repos/otherPerson/MyRepo/contents/File"
EDIT: I can push commits to the forked repo vía Github front-end , on the web.
Thanks in advance!