Skip to content

Commit d60b0d6

Browse files
committed
ci: add workflow on issue opened
1 parent 07027df commit d60b0d6

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/issue.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Comment on issue
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
7+
jobs:
8+
comment:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/github-script@v7
13+
with:
14+
script: |
15+
github.rest.issues.createComment({
16+
issue_number: context.issue.number,
17+
owner: context.repo.owner,
18+
repo: context.repo.repo,
19+
body: '👋 Thanks for reporting!'
20+
})

0 commit comments

Comments
 (0)