-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
26 lines (23 loc) · 1.59 KB
/
Copy path.env.example
File metadata and controls
26 lines (23 loc) · 1.59 KB
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
# ─────────────────────────────────────────────────────────────────────────────
# Autonomous PR-loop configuration.
# Copy this file to `.env` (gitignored) and fill in the values below.
# cp .env.example .env
# Only GH_BOT_TOKEN is required; the rest have sensible defaults.
# ─────────────────────────────────────────────────────────────────────────────
# REQUIRED — Personal access token for the bot machine account.
# Agent-created PRs are authored by this bot so the human owner can formally
# approve them (GitHub blocks a PR author from approving their own PR).
# Setup (see .claude/scripts/bot-gh.sh for the full walkthrough):
# 1. Create a free GitHub machine account (e.g. <you>-assistant-bot).
# 2. Add it as a write collaborator on this repo.
# 3. As the bot: Settings → Developer settings → Tokens (classic) → generate
# a CLASSIC token with `repo` scope (fine-grained PATs can't reliably
# target repos owned by another personal account).
GH_BOT_TOKEN=
# OPTIONAL — Login of the bot machine account.
# Used to identify bot-authored PRs in the feedback step.
# Default: robercano-ghbot
# BOT_LOGIN=robercano-ghbot
# OPTIONAL — GitHub login whose APPROVED review authorizes a merge.
# Default: the repo owner (the org/user part of the git remote).
# MERGE_APPROVER=robercano