Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add GH action to greet first-time contributors
- Loading branch information
1 parent
81837d2
commit 8085515
Showing
1 changed file
with
16 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,16 @@ | ||
name: Greetings | ||
|
||
on: [pull_request, issues] | ||
|
||
jobs: | ||
greeting: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- uses: actions/first-interaction@v1 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-message: 'Hello @${{ github.actor }}, thank you for submitting an issue! 🙂' | ||
pr-message: 'Hello @${{ github.actor }}, thank you submitting a pull request!' |