There was an error while loading. Please reload this page.
2 parents 342d2f5 + d77c283 commit 1eb805fCopy full SHA for 1eb805f
1 file changed
.github/workflows/org-bot.yml
@@ -45,12 +45,12 @@ jobs:
45
46
- name: Post welcome comment
47
uses: actions/github-script@v7
48
- env:
49
- BOT_MESSAGE: |
50
- 👋 Hello! Thanks for your contribution. We will review this and get back to you as soon as possible. — th30d4y
51
with:
52
script: |
53
- 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";
54
const issueNumber = context.issue.number;
55
const owner = context.repo.owner;
56
const repo = context.repo.repo;
0 commit comments