Skip to content

Commit

Permalink
Merge pull request #44 from akshaydubey05/main
Browse files Browse the repository at this point in the history
Added detailed Greeting messages using github actions.
  • Loading branch information
SiddharthBahuguna authored May 16, 2024
2 parents c2a9ac7 + 4f45ba9 commit 47665c8
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/greetings.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
name: Greetings

on: [pull_request_target, issues]

'on':
- pull_request_target
- 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: "Hi there! Thanks for opening this issue. We appreciate your contribution to this open-source project. We aim to respond or assign your issue as soon as possible."
pr-message: "Welcome to Our repository.🎊 Thank you so much for taking the time to point this out."
- uses: actions/first-interaction@v1
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
issue-message: Hello @${{ github.actor }},
Thanks for creating this issue and contributing to NEWS-AGGREGATOR-PROJECT !
We will review your issue soon and provide feedback.

If you're interested in working on this issue, make sure you get yourself assigned before starting your work.
pr-message: Awesome work, @${{ github.actor }}! 🎉 Thank you for your contribution and efforts to enhance NEWS-AGGREGATOR-PROJECT !
We will review your changes soon and provide feedback.

footer: 'Please ensure that you have followed the contributing guidelines for a smooth review process.'

0 comments on commit 47665c8

Please sign in to comment.