wanderlust
wanderlust copied to clipboard
[FEATURE] Automated Greeting-1
Description
Task : As soon as issue is created, the Github Bot will say "Hi , hope you have followed the code of conduct, if it doesn't follow we'll close this issue"
Please assign this issue to me.
Use Case
Here's the Screenshot of it.
Proposed Solution
No response
Additional Information
No response
Attachments
No response
@krishnaacharyaa Please check #231, i have commented one approach
Ok then i have tested the greeting message file, it will greet them and make a note to follow the contribution.md file, same for pr
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@main
- name: Welcome Issue
if: github.event_name == 'issues'
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.
We will promptly review your issue and offer feedback.
It is suggested and must to check our [contributing guidelines](https://github.com/hereisSwapnil/ExamTime/blob/main/CONTRIBUTING.md) and [PR guideline](https://github.com/krishnaacharyaa/wanderlust/blob/main/.github/pull_request_template.md).
- name: Welcome Pull Request
if: github.event_name == 'pull_request_target'
uses: EddieHubCommunity/gh-action-community/src/welcome@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
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.
We will promptly review your changes and offer feedback.
We believe that you should have followed out [contributing guidelines](https://github.com/hereisSwapnil/ExamTime/blob/main/CONTRIBUTING.md) , otherwise this PR will be closed.
The above code requires github action secret setup :-
the next step, pr title checker will see in next issue.
@krishnaacharyaa Tell me any suggestion regarding message for pr and issue.
I'm not getting why are we mixing issue creation and Pr creation together tbh @Mayur-666 It's totally different different things Let's not mix it