Open durden opened 8 years ago
This would be useful in a few scenarios:
details.json
file. However, hitting the 'restore a branch' will not re-add it to the details.json
file.details.json
file.
details.json
file at all since the push event would detect a new branch and make the update automatically.Now that I think about it, adding this functionality would go a long way towards supporting #9.
Adding this doesn't solve the issue of user verification because only github collaborators could push a new branch from the CLI. However, it would make it easier on collaborators (and our eventual script) to not require editing of the details.json
file.
Currently we remove branches from the
details.json
metadata file when a branch is deleted via github. This is done via the delete webhook. We should also hook into adding a branch via the push event.We're already handling the push web hook, but we're only using it to clear our guide cache.