Skip to content

Commit

Permalink
greetings.yml corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
praptisharma28 committed Jan 28, 2024
1 parent 6c85e4b commit 623402f
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
name: 'Greetings'
name: Greetings

on:
issues:
types: [opened]
pull_request_target:
types: [opened]
on: [pull_request, issues]

jobs:
welcome:
greeting:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/checkout@v1
- uses: EddieHubCommunity/gh-action-community/src/welcome@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Congratulations, @${{ github.actor }}! 🎉 Thank you for creating your issue for URL Shortner project. Your contribution is greatly appreciated and we look forward to working with you to resolve the issue. Keep up the great work! Should you have any queries or require guidance, do not hesitate to ask.'
pr-message: 'Great job, @${{ github.actor }}! 🎉 Thank you for submitting your pull request for URL Shortner project. Our dedicated team will review it diligently.Your contribution is valuable and we appreciate your efforts to improve our project.'
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Hey, @${{ github.actor }} welcome to URLShortener repository.🎊 Thank you so much for taking the time to point this out.🙌'
pr-message: 'Hey, @${{ github.actor }} welcome to URLShortener repository.🎊 Thank you so much for taking the effort to make our project better! 🙌 Keep making such awesome contributions!'

0 comments on commit 623402f

Please sign in to comment.