feat: greet first time contributors
Relates to:
Leverage out of the box github workflows
Risks
- Risk Level: Low
- Potential Impact: The workflow introduces automated messages for first-time contributors. If misconfigured, it could send incorrect or unintended messages. However, since it doesn't affect the core codebase, the overall risk is minimal.
Background
What does this PR do?
This PR adds a GitHub Actions workflow that automatically sends personalized greeting messages to users when they open their first issue or submit their first pull request. The messages welcome them to the ai16z community and express appreciation for their contributions.
What kind of change is this?
- Features (non-breaking change which adds functionality)
Documentation changes needed?
- My changes do not require a change to the project documentation.
Testing
Where should a reviewer start?
Review the newly added workflow file located at .github/workflows/greetings.yml.
Detailed testing steps
-
Fork the Repository: Fork the repository to your personal GitHub account to test the workflow without affecting the main project.
-
Modify the Workflow: In your fork, navigate to
.github/workflows/greetings.ymland ensure theissue-messageandpr-messageare appropriately set to welcome new contributors. -
Create a Test Issue:
- Navigate to the "Issues" tab in your forked repository.
- Click on "New Issue" and submit it.
- Verify that the GitHub Actions bot comments with the specified
issue-message.
-
Create a Test Pull Request:
- Make a minor change in your forked repository (e.g., edit the README).
- Commit the change and open a pull request against your fork.
- Verify that the GitHub Actions bot comments with the specified
pr-message.
-
Review Workflow Execution:
- Navigate to the "Actions" tab in your forked repository.
- Ensure that the "Greetings" workflow ran successfully for both the issue and pull request events.
-
Cleanup:
- Close the test issue and pull request.
- Optionally, delete your forked repository.
By following these steps, you can confirm that the greeting workflow functions as intended, providing a welcoming message to first-time contributors.
Discord username
0x8664