+ [2020-04-06T20:42:08Z] cornfeedhobo https://developer.github.com/v3/git/refs/#create-a-reference
+ [2020-04-06T20:44:22Z] cornfeedhobo hub api -X POST repos/terraform-provider-github-testing/test-repo/git/refs -F ref=refs/heads/test-branch-123 -F sha=$(hub api repos/terraform-provider-github-testing/test-repo/git/refs/heads/test-branch | jq -r .object.sha)
+ [2020-04-06T20:47:48Z] cornfeedhobo ... did something change in their API today? I have a working test that is now broken
+ [2020-04-06T20:49:46Z] cornfeedhobo LOL nvm. i see what was up

message no. 178975

Posted by cornfeedhobo in #github at 2020-04-06T20:41:42Z

hello. i'm playing with the reference API, and I'm getting a 404 when POSTing and using a non-master SHA. anyone know what's up? my goal is to branch from a non-master branch which has a commit that is ahead of master
+ [2020-04-07T08:04:19Z] neoclust i don't find how to make a repo "read only" for everyone, even people from my company
+ [2020-04-07T08:18:16Z] R2robot isn't that the default?
+ [2020-04-07T08:32:02Z] neoclust ok i found, my users were admins :)
+ [2020-04-07T08:32:14Z] neoclust as this was coworkers :)