-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
21 lines (16 loc) · 983 Bytes
/
.env.example
File metadata and controls
21 lines (16 loc) · 983 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# ── Git-Notify Configuration ──────────────────────────────
# Port the server listens on (default: 3000)
PORT=3000
# Discord webhook URL (REQUIRED)
# Create one in Discord: Channel Settings → Integrations → Webhooks → New Webhook
DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/YOUR_WEBHOOK_ID/YOUR_WEBHOOK_TOKEN
# Discord webhook URL for PR notifications (optional)
# If not set, PR notifications will use DISCORD_WEBHOOK_URL
DISCORD_PR_WEBHOOK_URL=https://discord.com/api/webhooks/YOUR_WEBHOOK_ID/YOUR_WEBHOOK_TOKEN
# Shared secret for verifying webhook signatures (optional but recommended)
# Set the same secret in your GitHub/Gitea webhook configuration
WEBHOOK_SECRET=
# Comma-separated list of repository names to monitor for PRs (optional)
# Example: "owner/repo1,owner/repo2,org/project"
# Only PRs raised in these repositories will trigger notifications
PR_REPO_NAMES=owner/repo1,owner/repo2