2022-08-07 02:54:38 +00:00
|
|
|
name: Check dns api
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request_target:
|
|
|
|
types:
|
|
|
|
- opened
|
|
|
|
branches:
|
|
|
|
- 'dev'
|
|
|
|
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**
|
2022-08-13 03:16:40 +00:00
|
|
|
Please make sure you're 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 ✨
|
2022-08-13 01:33:43 +00:00
|
|
|
`
|
2022-08-07 02:54:38 +00:00
|
|
|
})
|
|
|
|
|