fix: action-agent.sh fetches comments without bot filtering (#243)
Resolve the bot username dynamically from CODEBERG_TOKEN via the /user API endpoint and filter out bot comments from the prior-context section. Additional bot accounts can be specified via CODEBERG_BOT_USERNAMES env var (comma-separated). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
00d11efa82
commit
5157064bf0
2 changed files with 19 additions and 2 deletions
|
|
@ -18,6 +18,10 @@ CODEBERG_TOKEN=
|
|||
# Branch protection: this account must be in the approvals whitelist.
|
||||
REVIEW_BOT_TOKEN=
|
||||
|
||||
# Comma-separated Codeberg usernames to filter from issue comments.
|
||||
# The token owner is auto-detected; add extra bot accounts here if needed.
|
||||
CODEBERG_BOT_USERNAMES=
|
||||
|
||||
# ── Woodpecker CI ─────────────────────────────────────────────────────────
|
||||
WOODPECKER_TOKEN=
|
||||
WOODPECKER_SERVER=http://localhost:8000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue