xrkffgg
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
1 deletions
-
.github/workflows/issue-open-check.yml
|
|
@ -8,8 +8,13 @@ jobs: |
|
|
|
check-issue: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
- uses: actions-cool/check-user-permission@v1.0.0 |
|
|
|
id: checkUser |
|
|
|
with: |
|
|
|
require: 'write' |
|
|
|
|
|
|
|
- name: check invalid |
|
|
|
if: contains(github.event.issue.body, 'ant-design-issue-helper') == false |
|
|
|
if: (contains(github.event.issue.body, 'ant-design-issue-helper') == false) && (steps.checkUser.outputs.result == 'false') |
|
|
|
uses: actions-cool/issues-helper@v1.2 |
|
|
|
with: |
|
|
|
actions: 'create-comment,add-labels,close-issue' |
|
|
|