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
30 lines
1.0 KiB
name: Check dns api
|
|
|
|
on:
|
|
pull_request_target:
|
|
types:
|
|
- opened
|
|
paths:
|
|
- 'dnsapi/*.sh'
|
|
|
|
|
|
jobs:
|
|
welcome:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/github-script@v6
|
|
with:
|
|
script: |
|
|
await github.rest.issues.createComment({
|
|
issue_number: context.issue.number,
|
|
owner: context.repo.owner,
|
|
repo: context.repo.repo,
|
|
body: `**Welcome**
|
|
First thing: don't send PR to the master branch, please send to the dev branch instead.
|
|
Please make sure you've read our [DNS API Dev Guide](../wiki/DNS-API-Dev-Guide) and [DNS-API-Test](../wiki/DNS-API-Test).
|
|
Then reply on this message, otherwise, your code will not be reviewed or merged.
|
|
We look forward to reviewing your Pull request shortly ✨
|
|
注意: 必须通过了 [DNS-API-Test](../wiki/DNS-API-Test) 才会被 review. 无论是修改, 还是新加的 dns api, 都必须确保通过这个测试.
|
|
`
|
|
})
|
|
|