You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.0 KiB

2 years ago
10 months ago
1 year ago
2 years ago
1 year ago
2 years ago
2 years ago
  1. name: Check dns api
  2. on:
  3. pull_request_target:
  4. types:
  5. - opened
  6. paths:
  7. - 'dnsapi/*.sh'
  8. jobs:
  9. welcome:
  10. runs-on: ubuntu-latest
  11. steps:
  12. - uses: actions/github-script@v6
  13. with:
  14. script: |
  15. await github.rest.issues.createComment({
  16. issue_number: context.issue.number,
  17. owner: context.repo.owner,
  18. repo: context.repo.repo,
  19. body: `**Welcome**
  20. First thing: don't send PR to the master branch, please send to the dev branch instead.
  21. Please make sure you've read our [DNS API Dev Guide](../wiki/DNS-API-Dev-Guide) and [DNS-API-Test](../wiki/DNS-API-Test).
  22. Then reply on this message, otherwise, your code will not be reviewed or merged.
  23. We look forward to reviewing your Pull request shortly ✨
  24. 注意: 必须通过了 [DNS-API-Test](../wiki/DNS-API-Test) 才会被 review. 无论是修改, 还是新加的 dns api, 都必须确保通过这个测试.
  25. `
  26. })