mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-21 10:16:44 +00:00
fix(mantis): remove ambiguous github trigger mention (#83179)
This commit is contained in:
@@ -46,9 +46,8 @@ jobs:
|
||||
github.event_name == 'issue_comment' &&
|
||||
github.event.issue.pull_request &&
|
||||
(
|
||||
contains(github.event.comment.body, '@Mantis') ||
|
||||
contains(github.event.comment.body, '@mantis') ||
|
||||
contains(github.event.comment.body, '/mantis')
|
||||
contains(github.event.comment.body, '@openclaw-mantis') ||
|
||||
contains(github.event.comment.body, '/openclaw-mantis')
|
||||
)
|
||||
)
|
||||
}}
|
||||
@@ -128,7 +127,7 @@ jobs:
|
||||
|
||||
const normalized = body.toLowerCase();
|
||||
const requested =
|
||||
(normalized.includes("@mantis") || normalized.includes("/mantis")) &&
|
||||
(normalized.includes("@openclaw-mantis") || normalized.includes("/openclaw-mantis")) &&
|
||||
normalized.includes("discord") &&
|
||||
normalized.includes("status") &&
|
||||
normalized.includes("reaction");
|
||||
|
||||
@@ -46,9 +46,8 @@ jobs:
|
||||
github.event_name == 'issue_comment' &&
|
||||
github.event.issue.pull_request &&
|
||||
(
|
||||
contains(github.event.comment.body, '@Mantis') ||
|
||||
contains(github.event.comment.body, '@mantis') ||
|
||||
contains(github.event.comment.body, '/mantis')
|
||||
contains(github.event.comment.body, '@openclaw-mantis') ||
|
||||
contains(github.event.comment.body, '/openclaw-mantis')
|
||||
)
|
||||
)
|
||||
}}
|
||||
@@ -128,7 +127,7 @@ jobs:
|
||||
|
||||
const normalized = body.toLowerCase();
|
||||
const requested =
|
||||
(normalized.includes("@mantis") || normalized.includes("/mantis")) &&
|
||||
(normalized.includes("@openclaw-mantis") || normalized.includes("/openclaw-mantis")) &&
|
||||
normalized.includes("discord") &&
|
||||
normalized.includes("thread") &&
|
||||
(normalized.includes("attachment") ||
|
||||
|
||||
@@ -56,9 +56,8 @@ jobs:
|
||||
github.event_name == 'issue_comment' &&
|
||||
github.event.issue.pull_request &&
|
||||
(
|
||||
contains(github.event.comment.body, '@Mantis') ||
|
||||
contains(github.event.comment.body, '@mantis') ||
|
||||
contains(github.event.comment.body, '/mantis')
|
||||
contains(github.event.comment.body, '@openclaw-mantis') ||
|
||||
contains(github.event.comment.body, '/openclaw-mantis')
|
||||
)
|
||||
)
|
||||
}}
|
||||
@@ -141,7 +140,7 @@ jobs:
|
||||
|
||||
const normalized = body.toLowerCase();
|
||||
const requested =
|
||||
(normalized.includes("@mantis") || normalized.includes("/mantis")) &&
|
||||
(normalized.includes("@openclaw-mantis") || normalized.includes("/openclaw-mantis")) &&
|
||||
normalized.includes("telegram");
|
||||
if (!requested) {
|
||||
core.notice("Comment mentioned Mantis but did not request Telegram live QA.");
|
||||
|
||||
@@ -1631,7 +1631,7 @@ openclaw logs --follow
|
||||
// Molty listens to all bot-authored Discord messages.
|
||||
allowBots: true,
|
||||
mentionAliases: {
|
||||
// Lets Molty write "@Mantis" and send a real Discord mention.
|
||||
// Lets Molty write a Mantis Discord mention with the configured user id.
|
||||
Mantis: "MANTIS_DISCORD_USER_ID",
|
||||
},
|
||||
botLoopProtection: {
|
||||
|
||||
@@ -252,7 +252,7 @@ Telegram Web login state is not required for normal Mantis automation.
|
||||
|
||||
`Mantis Telegram Desktop Proof` is the agentic native Telegram Desktop
|
||||
before/after wrapper. A maintainer can trigger it from a PR comment with
|
||||
`@Mantis telegram desktop proof`, from the Actions UI with freeform
|
||||
`@openclaw-mantis telegram desktop proof`, from the Actions UI with freeform
|
||||
instructions, or through the generic `Mantis Scenario` dispatcher. The workflow
|
||||
hands the PR, baseline ref, candidate ref, and maintainer instructions to Codex.
|
||||
The agent reads the PR, decides what Telegram-visible behavior proves the
|
||||
@@ -351,7 +351,7 @@ region, and public URL values directly. The reusable publisher requires:
|
||||
You can also trigger the status-reactions run directly from a PR comment:
|
||||
|
||||
```text
|
||||
@Mantis discord status reactions
|
||||
@openclaw-mantis discord status reactions
|
||||
```
|
||||
|
||||
The comment trigger is intentionally narrow. It only runs on pull request
|
||||
@@ -361,15 +361,15 @@ and the current PR head SHA as the candidate. Maintainers can override either
|
||||
ref:
|
||||
|
||||
```text
|
||||
@Mantis discord status reactions baseline=origin/main candidate=HEAD
|
||||
@openclaw-mantis discord status reactions baseline=origin/main candidate=HEAD
|
||||
```
|
||||
|
||||
Telegram live QA can also be triggered from a PR comment:
|
||||
|
||||
```text
|
||||
@Mantis telegram
|
||||
@Mantis telegram scenario=telegram-status-command
|
||||
@Mantis telegram scenarios=telegram-status-command,telegram-mentioned-message-reply
|
||||
@openclaw-mantis telegram
|
||||
@openclaw-mantis telegram scenario=telegram-status-command
|
||||
@openclaw-mantis telegram scenarios=telegram-status-command,telegram-mentioned-message-reply
|
||||
```
|
||||
|
||||
By default it uses the current PR head SHA as the candidate and runs
|
||||
|
||||
@@ -335,9 +335,9 @@ start it from the Actions UI through `Mantis Scenario` (`scenario_id:
|
||||
telegram-live`) or directly from a pull request comment:
|
||||
|
||||
```text
|
||||
@Mantis telegram
|
||||
@Mantis telegram scenario=telegram-status-command
|
||||
@Mantis telegram scenarios=telegram-status-command,telegram-mentioned-message-reply
|
||||
@openclaw-mantis telegram
|
||||
@openclaw-mantis telegram scenario=telegram-status-command
|
||||
@openclaw-mantis telegram scenarios=telegram-status-command,telegram-mentioned-message-reply
|
||||
```
|
||||
|
||||
`Mantis Telegram Desktop Proof` is the agentic native Telegram Desktop
|
||||
@@ -346,7 +346,7 @@ freeform `instructions`, through `Mantis Scenario` (`scenario_id:
|
||||
telegram-desktop-proof`), or from a PR comment:
|
||||
|
||||
```text
|
||||
@Mantis telegram desktop proof
|
||||
@openclaw-mantis telegram desktop proof
|
||||
```
|
||||
|
||||
The Mantis agent reads the PR, decides what Telegram-visible behavior proves the
|
||||
|
||||
Reference in New Issue
Block a user