Skip to content

Commit 9cb3898

Browse files
committed
Add automated welcome message for new issues
1 parent 8d5b3b5 commit 9cb3898

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Issue Auto Reply
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
7+
permissions:
8+
issues: write
9+
10+
jobs:
11+
welcome:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Post welcome comment
15+
uses: actions/github-script@v7
16+
with:
17+
script: |
18+
github.rest.issues.createComment({
19+
issue_number: context.issue.number,
20+
owner: context.repo.owner,
21+
repo: context.repo.repo,
22+
body: 'Thank you for raising this issue! Our team will review it soon.\n\nFor more queries or discussions or approval of requests, please join the Discord server for further discussion: [Discord Link](https://discord.com/invite/Yn9g6KuWyA)'
23+
})

0 commit comments

Comments
 (0)