first commit
This commit is contained in:
11
scripts/gitea-pr-reviewer-run.example
Normal file
11
scripts/gitea-pr-reviewer-run.example
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/ksh
|
||||
# /usr/local/bin/gitea-pr-reviewer-run
|
||||
# Copy to server, fill in values, chmod 500, chown _prbot.
|
||||
|
||||
export PORT=9000
|
||||
export GITEA_URL=https://git.ridgwaysystems.org
|
||||
export GITEA_TOKEN=your-gitea-token-here
|
||||
export DEEPSEEK_API_KEY=your-deepseek-api-key-here
|
||||
export WEBHOOK_SECRET=your-webhook-secret-here
|
||||
|
||||
exec /usr/local/bin/gitea-pr-reviewer
|
||||
6
scripts/rc.d.prbot
Normal file
6
scripts/rc.d.prbot
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/ksh
|
||||
daemon="/usr/local/bin/gitea-pr-reviewer-run"
|
||||
daemon_user="_prbot"
|
||||
. /etc/rc.d/rc.subr
|
||||
rc_bg=YES
|
||||
rc_cmd $1
|
||||
Reference in New Issue
Block a user