Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/org-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading