acme.sh/.github/workflows/pr_dns.yml

31 lines
1.0 KiB
YAML
Raw Normal View History

2022-08-07 04:54:38 +02:00
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**
2024-02-04 05:35:07 +01:00
First thing: don't send PR to the master branch, please send to the dev branch instead.
2023-11-04 10:04:26 +01:00
Please make sure you've read our [DNS API Dev Guide](../wiki/DNS-API-Dev-Guide) and [DNS-API-Test](../wiki/DNS-API-Test).
2022-08-13 05:16:40 +02:00
Then reply on this message, otherwise, your code will not be reviewed or merged.
We look forward to reviewing your Pull request shortly ✨
2023-11-04 10:04:26 +01:00
注意: 必须通过了 [DNS-API-Test](../wiki/DNS-API-Test) 才会被 review. 无论是修改, 还是新加的 dns api, 都必须确保通过这个测试.
2022-08-13 03:33:43 +02:00
`
2022-08-07 04:54:38 +02:00
})