Skip to content

Commit 3371280

Browse files
Update issue comment message for maintainers
1 parent 246c56a commit 3371280

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Auto comment on new issues
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
7+
jobs:
8+
comment:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Add comment to issue
12+
uses: actions/github-script@v7
13+
with:
14+
script: |
15+
github.rest.issues.createComment({
16+
owner: context.repo.owner,
17+
repo: context.repo.repo,
18+
issue_number: context.issue.number,
19+
body: "👋 Thanks for opening this issue! The maintainers will review it shortly. Till then, do not open any PR. This is a strict rule we like to follow around here :)"
20+
})

0 commit comments

Comments
 (0)