-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from KiranBaliga/main
#Add Github Greetings Bot
- Loading branch information
Showing
1 changed file
with
16 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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! |