-
Notifications
You must be signed in to change notification settings - Fork 557
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add welcome new contributor action
- Loading branch information
1 parent
8410c0e
commit 4562cbf
Showing
2 changed files
with
20 additions
and
1 deletion.
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
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,19 @@ | ||
name: Greet New Contributor | ||
run-name: ${{ github.actor }} contributed to ${{github.repository}}. | ||
on: | ||
issues: | ||
types: [opened] | ||
pull_request_target: | ||
types: [opened] | ||
|
||
jobs: | ||
welcome-new-contributor: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Greet the contributor" | ||
uses: actions/first-interaction@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
is-oauth-token: true | ||
issue-message: "Hello there 👋 Thanks for opening your first issue. We welcome you to the ${{ github.event.repository.name }} community! 😊" | ||
pr-message: "Hello there 👋 Thanks for opening your first Pull Request. Someone will review it soon. 😉" |