Skip to content

Commit

Permalink
feat: automate greetings using github bot (#102)
Browse files Browse the repository at this point in the history
This PR fixes the issue #47 , kindly review it and merge.

You need to give `read and write permission` to the bot to make comments
hence kindly go to the repo `settings/actions/General` and under
`Workflow Permissions` grant `Read and write` permissions and then
`save`.

like this ⬇️


![image](https://github.com/hereisSwapnil/ExamTime/assets/115932772/e6f1f159-4d57-4030-af8e-90bcf7f3f4a0)
  • Loading branch information
Ijaiswalshivam authored May 14, 2024
2 parents e7efd18 + 557fed7 commit 61063f9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: 'Greetings'

on:
fork:
push:
branches: [main]
issues:
types: [opened]
pull_request_target:
types: [opened]

jobs:
welcome:
runs-on: ubuntu-latest
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. Your contribution is greatly appreciated and we look forward to working with you to resolve the issue. Keep up the great work!
pr-message: |
Great job, @${{ github.actor }}! 🎉 Thank you for submitting your pull request. Your contribution is valuable and we appreciate your efforts to improve our project.
footer: 'We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our [contributing guidelines](https://github.com/Ijaiswalshivam/Talk-In/blob/main/CONTRIBUTING.md)'

0 comments on commit 61063f9

Please sign in to comment.