docs: replace instance-specific values with placeholders in forgejo.md
Replace hardcoded bot_id "48" and bot_email "claude@wxs.ro" with generic placeholders in Quick Start and setup examples so readers don't copy instance-specific values. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
b03ccb518c
commit
6ebfb4914f
1 file changed
+5
-5
+5
-5
@@ -43,9 +43,9 @@ jobs:
|
|||||||
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||||
platform: "forgejo"
|
platform: "forgejo"
|
||||||
github_token: ${{ secrets.CLAUDE_BOT_TOKEN }}
|
github_token: ${{ secrets.CLAUDE_BOT_TOKEN }}
|
||||||
bot_id: "48" # Your bot user's Forgejo ID
|
bot_id: "YOUR_BOT_ID" # Replace with your bot's Forgejo user ID (see step 5 below)
|
||||||
bot_name: "claude-bot"
|
bot_name: "claude-bot"
|
||||||
bot_email: "claude@wxs.ro"
|
bot_email: "claude@yourdomain.com" # Must match the bot user's registered email
|
||||||
```
|
```
|
||||||
|
|
||||||
### 3. Agent Mode (Automation)
|
### 3. Agent Mode (Automation)
|
||||||
@@ -71,9 +71,9 @@ jobs:
|
|||||||
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||||
platform: "forgejo"
|
platform: "forgejo"
|
||||||
github_token: ${{ secrets.CLAUDE_BOT_TOKEN }}
|
github_token: ${{ secrets.CLAUDE_BOT_TOKEN }}
|
||||||
bot_id: "48"
|
bot_id: "YOUR_BOT_ID" # Replace with your bot's Forgejo user ID
|
||||||
bot_name: "claude-bot"
|
bot_name: "claude-bot"
|
||||||
bot_email: "claude@wxs.ro"
|
bot_email: "claude@yourdomain.com"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Platform Detection
|
## Platform Detection
|
||||||
@@ -198,7 +198,7 @@ curl -s "https://your-forgejo-instance/api/v1/users/claude-bot" | jq '.id'
|
|||||||
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||||
platform: "forgejo"
|
platform: "forgejo"
|
||||||
github_token: ${{ secrets.CLAUDE_BOT_TOKEN }}
|
github_token: ${{ secrets.CLAUDE_BOT_TOKEN }}
|
||||||
bot_id: "48" # From step 5
|
bot_id: "YOUR_BOT_ID" # Replace with the ID from step 5
|
||||||
bot_name: "claude-bot"
|
bot_name: "claude-bot"
|
||||||
bot_email: "claude@yourdomain.com" # Must match the bot user's registered email
|
bot_email: "claude@yourdomain.com" # Must match the bot user's registered email
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in new issue
Block a user