You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 855cffa
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/target-dispatcher.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,7 +93,7 @@ jobs:
93
93
COMMENT_BODY: ${{ github.event.comment.body }}
94
94
run: |
95
95
set -euo pipefail
96
-
if grep -Eiq '(^|[[:space:]])@(clawsweeper|openclaw-clawsweeper)\b(\[bot\])?|(^|[[:space:]])/(clawsweeper|review|re-review|rerun[ -]?review|status|explain|fix|build|implement|create[ -]?pr|fix[ -]?issue|autofix|auto[ -]?fix|automerge|auto[ -]?merge|approve|stop|autoclose)\b' <<< "$COMMENT_BODY"; then
96
+
if grep -Eiq '(^|[[:space:]])@(clawsweeper|openclaw-clawsweeper)\b(\[bot\])?|(^|[[:space:]])/(clawsweeper|review|autoclose|auto([[:space:]]+|-)?merge)\b' <<< "$COMMENT_BODY"; then
97
97
echo "is_command=true" >> "$GITHUB_OUTPUT"
98
98
else
99
99
echo "is_command=false" >> "$GITHUB_OUTPUT"
@@ -292,8 +292,11 @@ The job mints one short-lived `clawsweeper` App token scoped to
292
292
`clawsweeper_comment``repository_dispatch`. For comments, the
293
293
`Pre-filter ClawSweeper comment`step runs before the target write token is
294
294
minted, so ordinary comments consume neither a target installation token nor a
295
-
dispatch. Do not use a PAT or dispatch the same comment through both the exact
296
-
router and a second spam/generic workflow.
295
+
dispatch. The prefilter is only an ingress guard: `/clawsweeper`may carry any
296
+
supported subcommand, while `/review`, `/autoclose`, and `/auto-merge` (with
297
+
spaces or tabs allowed between `auto` and `merge`) are the standalone aliases.
298
+
The router remains authoritative. Do not use a PAT or dispatch the same comment
299
+
through both the exact router and a second spam/generic workflow.
297
300
298
301
To verify a target installation, open a pull request or issue and confirm one
299
302
`ClawSweeper Dispatch`run. Add a maintainer comment containing `@clawsweeper`
0 commit comments