Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#Add Github Greetings Bot #12

Merged
merged 3 commits into from
Sep 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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!