From d77c28319e392e0f722ddcd661b7e5c1aa104387 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 22 Apr 2026 21:51:15 +0000 Subject: [PATCH] Use professional issue-specific acknowledgement message in org bot Agent-Logs-Url: https://github.com/th30d4y/.github/sessions/472a6b14-9833-4120-913c-4e67bf30ba16 Co-authored-by: Stalin-143 <161853795+Stalin-143@users.noreply.github.com> --- .github/workflows/org-bot.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/org-bot.yml b/.github/workflows/org-bot.yml index 4889e87..1080faa 100644 --- a/.github/workflows/org-bot.yml +++ b/.github/workflows/org-bot.yml @@ -45,12 +45,12 @@ jobs: - name: Post welcome comment uses: actions/github-script@v7 - env: - BOT_MESSAGE: | - 👋 Hello! Thanks for your contribution. We will review this and get back to you as soon as possible. — th30d4y with: script: | - const message = process.env.BOT_MESSAGE.trim(); + const message = + context.eventName === "issues" + ? "👋 Thank you for opening this issue. We will review it and get back to you soon. — th30d4y" + : "👋 Hello! Thanks for your contribution. We will review this and get back to you as soon as possible. — th30d4y"; const issueNumber = context.issue.number; const owner = context.repo.owner; const repo = context.repo.repo;