Skip to content

Commit

Permalink
Update first-contribution.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
warmachine028 authored Sep 9, 2023
1 parent 089abfe commit b4a0261
Showing 1 changed file with 24 additions and 17 deletions.
41 changes: 24 additions & 17 deletions .github/workflows/first-contribution.yml
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.

0 comments on commit b4a0261

Please sign in to comment.