diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml new file mode 100644 index 00000000..1914e98b --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,71 @@ +# This workflow greets new contributors to the project +# +# It comments on first-time issues and pull requests to welcome users +# and provide helpful information about contributing to the project. + +name: 'Greet New Contributors' + +on: + issues: + types: [opened] + pull_request_target: + types: [opened] + +permissions: + issues: write + pull-requests: write + +jobs: + greeting: + runs-on: ubuntu-latest + + steps: + - name: Greet First Time Contributors + uses: actions/first-interaction@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + + issue-message: | + 👋 **Welcome to OpenML!** + + Thank you for opening your first issue! We're excited to have you as part of our community. 🎉 + + A maintainer will review your issue soon. In the meantime, please make sure you've provided: + - A clear description of the issue + - Steps to reproduce (if applicable) + - Expected vs actual behavior + - Any relevant logs or screenshots + + **Helpful Resources:** + - 📖 [Documentation](https://www.openml.org/guide) + - 🤝 [Contributing Guidelines](../CONTRIBUTING.md) + - 💬 [Code of Conduct](../CODE_OF_CONDUCT.md) + + If you'd like to work on this issue yourself, please comment below and we'll be happy to guide you! + + Thank you for helping make OpenML better! 🙌 + + pr-message: | + 👋 **Welcome to OpenML!** + + Thank you for opening your first pull request! We're thrilled to have you contribute to the project. 🎉 + + A maintainer will review your PR soon. Please make sure: + - [ ] Your code follows our coding standards + - [ ] You've tested your changes locally + - [ ] You've updated documentation if needed + - [ ] All tests pass + - [ ] You've filled out the PR template completely + + **Helpful Resources:** + - 📖 [Documentation](https://www.openml.org/guide) + - 🤝 [Contributing Guidelines](../CONTRIBUTING.md) + - 💬 [Code of Conduct](../CODE_OF_CONDUCT.md) + + **What happens next?** + 1. Automated checks will run on your PR + 2. A maintainer will review your code + 3. You may be asked to make some changes + 4. Once approved, your PR will be merged! 🚀 + + Thank you for your contribution! We appreciate your effort in making OpenML better! 🙌