-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
089abfe
commit b4a0261
Showing
1 changed file
with
24 additions
and
17 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 |
---|---|---|
@@ -1,22 +1,29 @@ | ||
name: 🙏 Welcome First Time Contributors | ||
|
||
on: [pull_request_target, issues] | ||
on: | ||
fork: | ||
push: | ||
branches: [main] | ||
issues: | ||
types: [opened] | ||
pull_request_target: | ||
types: [opened] | ||
|
||
jobs: | ||
greeting: | ||
welcome: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- uses: actions/first-interaction@v1 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-message: | | ||
# Congratulations 🚀 | ||
You have created your first Issue on <project-name>. | ||
pr-message: | | ||
# Congratulations 🎊 | ||
Your have made your first contribution in <project-name>. Make sure to star this repo 💚 | ||
- uses: actions/checkout@main | ||
- uses: EddieHubCommunity/gh-action-community/src/welcome@main | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-message: | | ||
### Hello @${{ github.actor }}, thank you for raising the issue. | ||
Thank you for raising an issue. Maintainer will soon investigate into the matter and get back to you as soon as possible. | ||
Meanwhile feel free to support star the repo and share it with your friends. 🤓 🚀 | ||
pr-message: | | ||
### Hello @${{ github.actor }}, thank you for raising a pull request. | ||
Please make sure you have filled the PR template properly and followed our contributing guidelines. |