-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes: #390 Signed-off-by: Michael Gasch <mgasch@vmware.com>
- Loading branch information
Michael Gasch
committed
May 4, 2021
1 parent
b2b4ddd
commit d0d93c8
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Howdy 🖐 {{ .author }} ! Thank you for your interest in this project. We value your feedback and will respond soon. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Greeting | ||
|
||
on: | ||
issues: | ||
types: ["opened"] | ||
|
||
jobs: | ||
greeting: | ||
name: Send Greeting | ||
runs-on: ubuntu-latest | ||
# only send message to first-time contributors | ||
if: github.event.issue.author_association == 'FIRST_TIME_CONTRIBUTOR' | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: Render template | ||
id: template | ||
uses: chuhlomin/render-template@v1.2 | ||
with: | ||
template: .github/comment-template.md | ||
vars: | | ||
author: ${{ github.actor }} | ||
- name: Create comment | ||
uses: peter-evans/create-or-update-comment@v1 | ||
with: | ||
issue-number: ${{ github.event.issue.number }} | ||
body: ${{ steps.template.outputs.result }} |