|
@ -5,7 +5,7 @@ on: |
|
|
types: [opened] |
|
|
types: [opened] |
|
|
|
|
|
|
|
|
jobs: |
|
|
jobs: |
|
|
check-issue: |
|
|
issue-open-check: |
|
|
runs-on: ubuntu-latest |
|
|
runs-on: ubuntu-latest |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions-cool/check-user-permission@v1.0.0 |
|
|
- uses: actions-cool/check-user-permission@v1.0.0 |
|
@ -15,7 +15,7 @@ jobs: |
|
|
|
|
|
|
|
|
- name: check invalid |
|
|
- name: check invalid |
|
|
if: (contains(github.event.issue.body, 'ant-design-issue-helper') == false) && (steps.checkUser.outputs.result == 'false') |
|
|
if: (contains(github.event.issue.body, 'ant-design-issue-helper') == false) && (steps.checkUser.outputs.result == 'false') |
|
|
uses: actions-cool/issues-helper@v1.2 |
|
|
uses: actions-cool/issues-helper@v2 |
|
|
with: |
|
|
with: |
|
|
actions: 'create-comment,add-labels,close-issue' |
|
|
actions: 'create-comment,add-labels,close-issue' |
|
|
issue-number: ${{ github.event.issue.number }} |
|
|
issue-number: ${{ github.event.issue.number }} |
|
@ -26,7 +26,7 @@ jobs: |
|
|
你好 @${{ github.event.issue.user.login }},为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为不符合要求而被自动关闭。你可以通过 [issue 助手](http://new-issue.ant.design) 来创建 issue 以方便我们定位错误。谢谢配合! |
|
|
你好 @${{ github.event.issue.user.login }},为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为不符合要求而被自动关闭。你可以通过 [issue 助手](http://new-issue.ant.design) 来创建 issue 以方便我们定位错误。谢谢配合! |
|
|
|
|
|
|
|
|
- name: check website |
|
|
- name: check website |
|
|
uses: actions-cool/issues-helper@v1.2 |
|
|
uses: actions-cool/issues-helper@v2 |
|
|
id: checkid |
|
|
id: checkid |
|
|
with: |
|
|
with: |
|
|
actions: 'check-issue' |
|
|
actions: 'check-issue' |
|
@ -36,7 +36,7 @@ jobs: |
|
|
|
|
|
|
|
|
- name: deal website |
|
|
- name: deal website |
|
|
if: steps.checkid.outputs.check-result == 'true' |
|
|
if: steps.checkid.outputs.check-result == 'true' |
|
|
uses: actions-cool/issues-helper@v1.2 |
|
|
uses: actions-cool/issues-helper@v2 |
|
|
with: |
|
|
with: |
|
|
actions: 'create-comment,close-issue' |
|
|
actions: 'create-comment,close-issue' |
|
|
issue-number: ${{ github.event.issue.number }} |
|
|
issue-number: ${{ github.event.issue.number }} |
|
@ -59,10 +59,10 @@ jobs: |
|
|
* Ant Design Mobile: http://antd-mobile.gitee.io |
|
|
* Ant Design Mobile: http://antd-mobile.gitee.io |
|
|
* Ant Motion: http://ant-motion.gitee.io |
|
|
* Ant Motion: http://ant-motion.gitee.io |
|
|
* Ant Design Pro Preview : https://prosite.z23.web.core.windows.net |
|
|
* Ant Design Pro Preview : https://prosite.z23.web.core.windows.net |
|
|
|
|
|
|
|
|
- name: check ie |
|
|
- name: check ie |
|
|
if: contains(github.event.issue.body, 'ant-design-issue-helper') == true && contains(github.event.issue.title, 'IE9') == true || contains(github.event.issue.title, 'IE 9') == true || contains(github.event.issue.title, 'IE10') == true || contains(github.event.issue.title, 'IE 10') == true || contains(github.event.issue.title, 'IE11') == true || contains(github.event.issue.title, 'IE 11') == true || contains(github.event.issue.title, 'Internet Explorer') == true || contains(github.event.issue.body, 'IE9') == true || contains(github.event.issue.body, 'IE 9') == true || contains(github.event.issue.body, 'IE10') == true || contains(github.event.issue.body, 'IE 10') == true || contains(github.event.issue.body, 'IE11') == true || contains(github.event.issue.body, 'IE 11') == true || contains(github.event.issue.body, 'Internet Explorer') == true |
|
|
if: contains(github.event.issue.body, 'ant-design-issue-helper') == true && contains(github.event.issue.title, 'IE9') == true || contains(github.event.issue.title, 'IE 9') == true || contains(github.event.issue.title, 'IE10') == true || contains(github.event.issue.title, 'IE 10') == true || contains(github.event.issue.title, 'IE11') == true || contains(github.event.issue.title, 'IE 11') == true || contains(github.event.issue.title, 'Internet Explorer') == true || contains(github.event.issue.body, 'IE9') == true || contains(github.event.issue.body, 'IE 9') == true || contains(github.event.issue.body, 'IE10') == true || contains(github.event.issue.body, 'IE 10') == true || contains(github.event.issue.body, 'IE11') == true || contains(github.event.issue.body, 'IE 11') == true || contains(github.event.issue.body, 'Internet Explorer') == true |
|
|
uses: actions-cool/issues-helper@v1.2 |
|
|
uses: actions-cool/issues-helper@v2 |
|
|
with: |
|
|
with: |
|
|
actions: 'add-labels' |
|
|
actions: 'add-labels' |
|
|
issue-number: ${{ github.event.issue.number }} |
|
|
issue-number: ${{ github.event.issue.number }} |
|
|