-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpolicy.example.json
More file actions
70 lines (70 loc) · 1.33 KB
/
policy.example.json
File metadata and controls
70 lines (70 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"source": {
"from": [
"notifications@github.com",
"giscebot@gisce.net"
],
"requiredAuth": [
"spf=pass",
"dkim=pass",
"dmarc=pass"
],
"requiredUrlPrefix": "https://github.com/",
"messageIdDomain": "github.com"
},
"trustedRepos": [],
"botLogins": [
"pilipilisbot"
],
"trustedOrgs": [
"your-org"
],
"enabledRepos": [
"your-org/your-repo"
],
"repoRoutes": {},
"orgRoutes": {
"your-org": {
"agent": "your-openclaw-agent",
"channel": "telegram",
"to": "YOUR_CHAT_ID"
}
},
"actions": {
"auto": [
"archive_notification",
"react_eyes"
],
"ask": [],
"trustedAuto": [
"reply_comment",
"open_issue",
"submit_review",
"sync_after_merge",
"workflow_run_failed",
"docs_update",
"content_change"
],
"deny": [
"merge_main",
"org_permissions_change",
"manage_secrets",
"delete_remote_repo_or_branch"
]
},
"repoRoles": {
"your-org/your-repo": "maintainer"
},
"orgRoles": {
"your-org": "contributor"
},
"feedbackLearning": {
"enabled": true,
"minConfidence": 0.5,
"autoApproveConfidence": 0.8,
"maxEventsPerRun": 10,
"model": "gpt-5.4-mini",
"thinking": "low",
"sessionId": "github-agent-bridge-feedback"
}
}