mirror of
https://github.com/bytedream/scripts.git
synced 2025-06-27 10:10:32 +02:00
Added extended explanation
This commit is contained in:
@ -400,7 +400,6 @@ func main() {
|
||||
gw := &GithubWebhook{pushEvents: make(map[int64][]OnPayload), repositoryEvents: make(map[int64][]OnPayload), repoNames: make(map[int64]string)}
|
||||
gw.AddPushEvent(364735060, updateLocal)
|
||||
gw.AddRepositoryEvent(364735060, renameLocal)
|
||||
|
||||
// NOTE: To find out the id of a repository, go to the repo page, open the browser / developer console and execute `document.head.querySelector("meta[name=octolytics-dimension-repository_id]").content`
|
||||
|
||||
r.HandleFunc("/github_webhook", gw.OnWebhook).Methods("POST")
|
||||
|
Reference in New Issue
Block a user