Skip to content

Commit ad5ae94

Browse files
Simplify auto-reply messages in workflow
Removed footer and additional messages from issue and pull request comments.
1 parent 8e17fa9 commit ad5ae94

1 file changed

Lines changed: 6 additions & 33 deletions

File tree

.github/workflows/auto-reply.yml

Lines changed: 6 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -23,30 +23,11 @@ jobs:
2323
const eventName = context.eventName;
2424
const repo = context.repo;
2525
26-
const footer = `
27-
---
28-
29-
🌐 **Stay Connected with the MyCMD Community:**
30-
31-
- 💻 [Website](https://Drive-for-java.github.io)
32-
- 💬 [Discord Server](https://discord.gg/MYdZbvR5gC)
33-
- 📱 [WhatsApp Channel](https://whatsapp.com/channel/0029VbAsOiM8KMqmrdpdUG2W)
34-
35-
Thank you for being part of **Drive for Java 🚗☕**
36-
`;
37-
3826
if (eventName === "issues") {
3927
const user = context.payload.issue.user.login;
40-
const message = `👋 Hi @${user}!
41-
42-
Thank you for opening an issue in **MyCMD**.
43-
Our maintainers will review it soon. Please make sure your report includes:
44-
45-
- ✅ Clear reproduction steps
46-
- 📋 Logs or stack traces (if applicable)
47-
- 🧠 Details about your environment (Java version, OS, etc.)
48-
49-
This helps us fix and improve faster!${footer}`;
28+
const message = `👋 Hi @${user}!
29+
Thanks for opening an issue in **MyCMD**.
30+
We’ll review it soon — meanwhile, please ensure logs and reproduction steps are clear. `;
5031
5132
await github.rest.issues.createComment({
5233
owner: repo.owner,
@@ -65,17 +46,9 @@ This helps us fix and improve faster!${footer}`;
6546
6647
if (eventName === "pull_request") {
6748
const user = context.payload.pull_request.user.login;
68-
const message = `🚀 Hi @${user}!
69-
70-
Thank you for contributing to **MyCMD** 🎉
71-
Your pull request has been received and will be reviewed shortly by our maintainers.
72-
73-
Meanwhile, please ensure:
74-
- 🧱 Your code passes CI checks
75-
- 📖 You’ve updated docs or comments if needed
76-
- 🧩 You’ve tested it locally
77-
78-
We appreciate your efforts to make MyCMD better!${footer}`;
49+
const message = `🚀 Hi @${user}!
50+
Thank you for contributing to **MyCMD**.
51+
A maintainer will review your PR shortly. 🎉`;
7952
8053
await github.rest.issues.createComment({
8154
owner: repo.owner,

0 commit comments

Comments
 (0)