ci: fix ie contains check (#28666)

* ci: fix contains check

* Update issue-open-check.yml
This commit is contained in:
xrkffgg 2021-01-04 16:58:51 +08:00 committed by GitHub
parent 9946e6c56f
commit b5aeced4e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ jobs:
* Ant Design Pro Preview : https://prosite.z23.web.core.windows.net
- name: check-ie
if: contains(github.event.issue.body, 'ant-design-issue-helper') == true && (contains(github.event.issue.title, 'IE') == true || contains(github.event.issue.title, 'Internet Explorer') == true)
if: contains(github.event.issue.body, 'ant-design-issue-helper') == true && github.event.issue.title.includes('IE9') == true || github.event.issue.title.includes('IE 9') == true || github.event.issue.title.includes('IE10') == true || github.event.issue.title.includes('IE 10') == true || github.event.issue.title.includes('IE11') == true || github.event.issue.title.includes('IE 11') == true || contains(github.event.issue.title, 'Internet Explorer') == true)
uses: actions-cool/issues-helper@v1.2
with:
actions: 'add-labels'