Move configuration from config.py to config.json and add support for GitHub organization webhooks
remove _format_watch() from utils.github_webhook as the value of watchers_count is always identical with stargazers_count https://docs.github.com/en/developers/webhooks-and-events/webhook-events-and-payloads#watch https://developer.github.com/changes/2012-09-05-watcher-api/
This commit is contained in:
+1
-1
@@ -9,4 +9,4 @@ __pycache__/
|
||||
/.idea/
|
||||
|
||||
# Configuration
|
||||
/config.py
|
||||
/config.json
|
||||
|
||||
Reference in New Issue
Block a user