Skip to content

Commit

Permalink
Merge pull request #12 from KiranBaliga/main
Browse files Browse the repository at this point in the history
#Add Github Greetings Bot
  • Loading branch information
Harish-2003 authored Sep 29, 2024
2 parents f720a0d + 209b725 commit 0197521
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
name: Greetings
name: Greetings Workflow

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

jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Thank you so much for contributing to our work!'
pr-message: 'Thank you for your contribution! Someone will review it ASAP.'
- name: Send Welcome Message
uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: |
👋 Thank you for raising an issue! We appreciate your effort in helping us improve.
Our team will review it shortly. Stay tuned!
pr-message: |
🎉 Thank you for your contribution! Your pull request has been submitted successfully.
A maintainer will review it as soon as possible. We appreciate your support in making this project better!

0 comments on commit 0197521

Please sign in to comment.