[chore] update readme #1
This file contains hidden or 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
| name: Auto Response | ||
| on: | ||
| issues: | ||
| types: [opened] | ||
| pull_request: | ||
| types: [opened] | ||
| permissions: | ||
| issues: write | ||
| pull-requests: write | ||
| jobs: | ||
| auto-response: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Auto comment on issues | ||
| if: github.event_name == 'issues' | ||
| uses: actions/github-script@v7 | ||
| with: | ||
| script: | | ||
| const message = `Thank you for your interest in Andromeda! 🚀 | ||
| This project is currently in **showcase mode**. While I may not be able to provide immediate responses, the community is encouraged to discuss and help each other. | ||
| **Feel free to:** | ||
| - 🍴 Fork the project for your own use | ||
| - 💡 Share solutions in the comments | ||
| - 🤝 Connect with other users | ||
| - 📚 Learn from the codebase | ||
| **Community members**: Please feel free to jump in and help answer questions or provide insights! | ||
| Appreciate your understanding! ⭐`; | ||
| github.rest.issues.createComment({ | ||
| issue_number: context.issue.number, | ||
| owner: context.repo.owner, | ||
| repo: context.repo.repo, | ||
| body: message | ||
| }); | ||
| - name: Auto comment on pull requests | ||
| if: github.event_name == 'pull_request' | ||
| uses: actions/github-script@v7 | ||
| with: | ||
| script: | | ||
| const message = `Thank you for your contribution to Andromeda! 🎉 | ||
| This project is currently in **showcase mode** with limited maintenance capacity. While I appreciate your PR, please note: | ||
| ⚠️ **Limited Review Time**: PRs may not be reviewed promptly due to time constraints | ||
| **Suggestions:** | ||
| - 🍴 Consider maintaining your changes in your own fork | ||
| - 📢 Share your improvements with the community | ||
| - 🤝 Connect with other contributors who might be interested | ||
| **Community**: Feel free to review, test, and discuss this PR! | ||
| Thank you for your understanding and contribution! 🙏`; | ||
| github.rest.issues.createComment({ | ||
| issue_number: context.issue.number, | ||
| owner: context.repo.owner, | ||
| repo: context.repo.repo, | ||
| body: message | ||
| }); | ||