Skip to content

Commit a7c2433

Browse files
authored
ci(pr-review): change payload to 'lead group review' (#1303)
Co-authored-by: chaodu-agent <chaodu-agent@users.noreply.github.com>
1 parent 24de2f8 commit a7c2433

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/pr-bot-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ jobs:
135135
if echo "$LABELS" | jq -e 'any(. == "auto-fix")' > /dev/null 2>&1; then
136136
MODE="\n__mode: auto-fix__"
137137
fi
138-
PAYLOAD=$(printf '<@%s> review %s\n\n__commit: %s__%s' "$BOT_UID" "$PR_URL" "$SHA" "$MODE" | jq -Rs '{content: .}')
138+
PAYLOAD=$(printf '<@%s> lead group review %s\n\n__commit: %s__%s' "$BOT_UID" "$PR_URL" "$SHA" "$MODE" | jq -Rs '{content: .}')
139139
if ! curl -sS --fail-with-body --max-time 10 -X POST "$WEBHOOK_URL" \
140140
-H "Content-Type: application/json" -d "$PAYLOAD"; then
141141
gh api "repos/${{ github.repository }}/statuses/${SHA}" \

0 commit comments

Comments
 (0)