Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/on-mention.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ on:
type: string
default: "jwbron"
mention_patterns:
description: 'Comma-separated list of mention patterns to trigger on (e.g., "@mybot,@egg")'
description: 'Comma-separated list of mention patterns to trigger on (e.g., "@mybot")'
required: false
type: string
default: "@james-in-a-box,@egg"
default: "@james-in-a-box"
prompt_script:
description: 'Path to prompt builder script (relative to repo root)'
required: false
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
{
echo "bot_username=${{ inputs.bot_username || 'egg' }}"
echo "authorized_users=${{ inputs.authorized_users || 'jwbron' }}"
echo "mention_patterns=${{ inputs.mention_patterns || '@james-in-a-box,@egg' }}"
echo "mention_patterns=${{ inputs.mention_patterns || '@james-in-a-box' }}"
} >> "$GITHUB_OUTPUT"

# Determine issue/PR number based on event type
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/github-automation.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for how to call egg's workflows from your own repositories.
| [AI Code Review](#ai-code-review) | PR opened/updated | Reviews code changes, posts feedback via `gh pr review` |
| [Address Review Feedback](#address-review-feedback) | Review posted on bot PR | Automatically addresses review feedback, enabling review loops |
| [Design Review](#design-review) | PR opened/updated (specialized) | Applies project-specific review rules via the same reusable framework |
| [@mention Response](#mention-response) | `@egg` in issues/PR comments | Runs arbitrary tasks requested by authorized users |
| [@mention Response](#mention-response) | Bot mention in issues/PR comments | Runs arbitrary tasks requested by authorized users |
| [Check Autofixer](#check-autofixer) | CI check failure on a PR | Diagnoses failures, auto-fixes or reports |
| [Conflict Resolver](#conflict-resolver) | Push to main / every 2 hours / manual | Resolves merge conflicts via rebase |
| [Self-Improvement](#self-improvement) | Nightly schedule (2 AM UTC) | Analyzes all runs for issues, creates tracking issues |
Expand Down Expand Up @@ -215,7 +215,7 @@ than providing general feedback that duplicates the base review.

**Workflow:** [`.github/workflows/on-mention.yml`](../../.github/workflows/on-mention.yml)

Triggers when an authorized user mentions `@egg` or `@james-in-a-box` in:
Triggers when an authorized user mentions the configured bot in:
- Issue comments
- PR comments
- PR review comments (inline code comments)
Expand Down