Unverified Commit 2544467b authored by Tobias Koppers's avatar Tobias Koppers Committed by GitHub

Prefix pr-status replies with 🤖 emoji (#90943)

### What?

Prefixes replies posted by `scripts/pr-status.js` with the `🤖` (🤖) emoji.

### Why?

When the pr-status script replies to PR review threads, there's no visual indicator that the reply was generated by AI rather than a human. Adding the robot emoji makes it immediately clear.

### How?

One-line change in the `replyToThread()` function in `scripts/pr-status.js` that prepends `🤖 ` to the reply body before posting it via the GitHub GraphQL API.
parent 9d0fbf13
......@@ -372,6 +372,7 @@ function getPRComments(prNumber) {
// ============================================================================
function replyToThread(threadId, body) {
body = ':robot: ' + body
const mutation = `
mutation($threadId: ID!, $body: String!) {
addPullRequestReviewThreadReply(input: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment