[+] gh moderator config
Co-Authored-By: AI Content Moderator <132312177+ai-moderator@users.noreply.github.com>
This commit is contained in:
@@ -118,3 +118,4 @@ dmypy.json
|
||||
._*
|
||||
webhook-log
|
||||
start_moderation.sh
|
||||
gh_moderator.toml
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
Symbolic11
|
||||
GentlemanMC
|
||||
dr03m
|
||||
|
||||
|
@@ -0,0 +1,10 @@
|
||||
# Secret of Github Webhook to verify the request is from Github
|
||||
webhook_secret = "secret"
|
||||
|
||||
# Github token and repo to regulate
|
||||
gh_token = "token"
|
||||
gh_repo = "owner/repo"
|
||||
|
||||
# AI harm classifier token
|
||||
harm_classifier_url = "https://example.com/classify"
|
||||
harm_classifier_token = "token"
|
||||
Reference in New Issue
Block a user