forked from PlatformNetwork/bounty-challenge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.toml
More file actions
29 lines (24 loc) · 873 Bytes
/
config.toml
File metadata and controls
29 lines (24 loc) · 873 Bytes
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
# Bounty Challenge Configuration
[github]
# GitHub OAuth App Client ID (override with GITHUB_CLIENT_ID environment variable)
client_id = ""
# Target repository for bounties
# IMPORTANT: Only issues in bounty-challenge count for rewards
[[github.repos]]
owner = "PlatformNetwork"
repo = "bounty-challenge"
[server]
host = "0.0.0.0"
port = 8080
[database]
# PostgreSQL connection string (use DATABASE_URL environment variable)
# Format: postgres://user:password@host:port/database
# The server reads DATABASE_URL from environment for PostgreSQL connections
[rewards]
# Points needed for full weight (100% = 1.0)
# 50 points = 100% weight (1 point per valid issue + 0.25 points per starred repo)
max_points_for_full_weight = 50
# Weight earned per point (50 points * 0.02 = 100%)
weight_per_point = 0.02
# Label required on issues to count as valid
valid_label = "valid"