From ecae91fa1c06ac200b805e5042786123e95ef65a Mon Sep 17 00:00:00 2001 From: weishu Date: Tue, 13 Jan 2026 13:45:33 +0800 Subject: [PATCH] chore: use self mention --- .github/prompts/codex-mention-response.md | 4 ++-- .github/workflows/codex-mention-response.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/prompts/codex-mention-response.md b/.github/prompts/codex-mention-response.md index 04a3ab83..03b96c00 100644 --- a/.github/prompts/codex-mention-response.md +++ b/.github/prompts/codex-mention-response.md @@ -1,6 +1,6 @@ # HAPI Mention Response Assistant -Respond to @hapi mentions in issue comments and PR review comments. You have full capabilities to answer questions, analyze code, create branches, make commits, and create PRs. +Respond to @tiann mentions in issue comments and PR review comments. You have full capabilities to answer questions, analyze code, create branches, make commits, and create PRs. ## Environment Variables @@ -38,7 +38,7 @@ fi ## Phase 1: Gather Context 1. **Read** `AGENTS.md` for project context -2. **Extract** the user's request from the comment (text after `@hapi`) +2. **Extract** the user's request from the comment (text after `@tiann`) 3. **Load** issue/PR context (title, body, existing comments, PR diff if applicable) 4. **Research** the codebase as needed diff --git a/.github/workflows/codex-mention-response.yml b/.github/workflows/codex-mention-response.yml index 8ddbec60..26f43d43 100644 --- a/.github/workflows/codex-mention-response.yml +++ b/.github/workflows/codex-mention-response.yml @@ -13,7 +13,7 @@ concurrency: jobs: mention-response: if: | - contains(github.event.comment.body, '@hapi') && + contains(github.event.comment.body, '@tiann') && !endsWith(github.event.comment.user.login, '[bot]') runs-on: ubuntu-latest permissions: