neil
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
27 additions and
0 deletions
-
.github/workflows/pr_dns.yml
|
@ -0,0 +1,27 @@ |
|
|
|
|
|
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** |
|
|
|
|
|
Please make sure you're read our [DNS API Dev Guide](../wiki/DNS-API-Dev-Guide) and we look forward to reviewing your Pull request shortly ✨` |
|
|
|
|
|
}) |
|
|
|
|
|
|