Skip to content

Commit 12f88f3

Browse files
committed
* adding a new issue greeter workflow, which adds a comment to all newly
created issues
1 parent 03a533a commit 12f88f3

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/greeter.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: New issue greeter
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
7+
jobs:
8+
comment:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/github-script@0.8.0
12+
with:
13+
github-token: ${{secrets.GITHUB_TOKEN}}
14+
script: |
15+
github.issues.createComment({
16+
issue_number: context.issue.number,
17+
owner: context.repo.owner,
18+
repo: context.repo.repo,
19+
body: "🎉 thanks for submitting this issue, we'll review it soon!"
20+
})

0 commit comments

Comments
 (0)