chore: remove broken review.yml — reviews run on host
This commit is contained in:
parent
0fb1ed4bf8
commit
66930d7013
1 changed files with 0 additions and 37 deletions
|
|
@ -1,37 +0,0 @@
|
||||||
# PR Review Bot
|
|
||||||
# Triggers on PR open/sync, runs Claude Code review with rich context,
|
|
||||||
# posts structured review comment to Codeberg.
|
|
||||||
#
|
|
||||||
# NOTE: This runs on the host (not in Docker) because it needs:
|
|
||||||
# - claude CLI
|
|
||||||
# - git worktrees in the harb repo
|
|
||||||
# - ~/.netrc for Codeberg API
|
|
||||||
#
|
|
||||||
# For now, trigger manually or via webhook → script.
|
|
||||||
# TODO: Move to Woodpecker "local" backend when ready.
|
|
||||||
|
|
||||||
when:
|
|
||||||
event: pull_request
|
|
||||||
# Only review PRs targeting master
|
|
||||||
branch: master
|
|
||||||
|
|
||||||
steps:
|
|
||||||
review:
|
|
||||||
image: alpine
|
|
||||||
commands:
|
|
||||||
# This is a placeholder — actual review runs on host via script.
|
|
||||||
# Woodpecker's Docker backend can't access claude CLI.
|
|
||||||
#
|
|
||||||
# Two options for triggering:
|
|
||||||
#
|
|
||||||
# Option A: Codeberg webhook → OpenClaw cron/system event → review script
|
|
||||||
# - Codeberg sends PR webhook to OpenClaw gateway
|
|
||||||
# - Gateway triggers: scripts/review-pr.sh $PR_NUMBER
|
|
||||||
#
|
|
||||||
# Option B: Woodpecker local backend
|
|
||||||
# - Run woodpecker-agent with local backend (no Docker)
|
|
||||||
# - Pipeline runs directly on host
|
|
||||||
# - scripts/review-pr.sh ${CI_PULL_REQUEST_NUMBER}
|
|
||||||
#
|
|
||||||
- echo "PR review should be triggered via host script"
|
|
||||||
- echo "Run: scripts/review-pr.sh ${CI_PULL_REQUEST_NUMBER:-unknown}"
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue