welcome.yml 842 B

123456789101112131415161718192021222324252627282930
  1. # .github/workflows/welcome.yml
  2. # 欢迎新贡献者工作流
  3. name: Welcome First-Timers
  4. on:
  5. pull_request_target:
  6. types: [opened]
  7. issues:
  8. types: [opened]
  9. permissions:
  10. pull-requests: write
  11. issues: write
  12. jobs:
  13. welcome:
  14. runs-on: ubuntu-latest
  15. steps:
  16. - name: Welcome new contributor
  17. uses: actions/first-interaction@v1
  18. with:
  19. repo-token: ${{ secrets.GITHUB_TOKEN }}
  20. issue-message: |
  21. 👋 你好,@${{ github.actor }}!感谢你第一次向 vibe-coding-cn 提交 Issue!
  22. 我们会尽快查看。欢迎你加入我们的社区!
  23. pr-message: |
  24. 👋 你好,@${{ github.actor }}!感谢你第一次向 vibe-coding-cn 提交 Pull Request!
  25. 我们将仔细评审你的贡献。感谢你让这个项目变得更好!