diff --git a/.github/workflows/issue-close-require.yml b/.github/workflows/issue-close-require.yml new file mode 100644 index 0000000000000000000000000000000000000000..a5fb0a4002316e350c291a474898158a54a336cf --- /dev/null +++ b/.github/workflows/issue-close-require.yml @@ -0,0 +1,17 @@ +name: Issue Close Require + +on: + schedule: + - cron: '0 0 * * *' + +jobs: + close-issues: + runs-on: ubuntu-latest + steps: + - name: need reproduction + uses: actions-cool/issues-helper@v2.1.1 + with: + actions: 'close-issues' + token: ${{ secrets.OPER_TOKEN }} + labels: 'need reproduction' + inactive-day: 3 diff --git a/.github/workflows/issue-labeled.yml b/.github/workflows/issue-labeled.yml new file mode 100644 index 0000000000000000000000000000000000000000..43a7a624a407671fb9b5c5c5485a4daaef1d4ec4 --- /dev/null +++ b/.github/workflows/issue-labeled.yml @@ -0,0 +1,29 @@ +name: Issue Labeled + +on: + issues: + types: [labeled] + +jobs: + reply-labeled: + runs-on: ubuntu-latest + steps: + - name: remove pending + if: github.event.label.name == 'enhancement' || github.event.label.name == 'bug' + uses: actions-cool/issues-helper@v2.1.1 + with: + actions: 'remove-labels' + token: ${{ secrets.OPER_TOKEN }} + issue-number: ${{ github.event.issue.number }} + labels: 'bug: pending triage' + + - name: need reproduction + if: github.event.label.name == 'need reproduction' + uses: actions-cool/issues-helper@v2.1.1 + with: + actions: 'create-comment, remove-labels' + token: ${{ secrets.OPER_TOKEN }} + issue-number: ${{ github.event.issue.number }} + body: | + Hello @${{ github.event.issue.user.login }}. Please provide the complete reproduction steps and code. Issues labeled by `need reproduction` will be closed if no activities in 3 days. + labels: 'bug: pending triage' diff --git a/package.json b/package.json index 2041b5aedcbe59c329d8dddb9f37522da1803a26..296fb28a8d2064874dc5379185bf4fe3ef887011 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "devDependencies": { "@commitlint/cli": "^12.0.1", "@commitlint/config-conventional": "^12.0.1", - "@iconify/json": "^1.1.317", + "@iconify/json": "^1.1.320", "@ls-lint/ls-lint": "^1.9.2", "@purge-icons/generated": "^0.7.0", "@types/crypto-js": "^4.0.1", @@ -88,11 +88,11 @@ "eslint": "^7.22.0", "eslint-config-prettier": "^8.1.0", "eslint-plugin-prettier": "^3.3.1", - "eslint-plugin-vue": "^7.7.0", + "eslint-plugin-vue": "^7.8.0", "esno": "^0.5.0", "fs-extra": "^9.1.0", "http-server": "^0.12.3", - "husky": "^5.1.3", + "husky": "^5.2.0", "inquirer": "^8.0.0", "is-ci": "^3.0.0", "less": "^4.1.1", @@ -119,7 +119,7 @@ "vite-plugin-style-import": "^0.8.1", "vite-plugin-svg-icons": "^0.4.0", "vite-plugin-theme": "^0.5.0", - "vite-plugin-windicss": "0.9.4", + "vite-plugin-windicss": "0.9.6", "vue-eslint-parser": "^7.6.0", "yargs": "^16.2.0" }, diff --git a/src/components/SimpleMenu/src/components/SubMenuItem.vue b/src/components/SimpleMenu/src/components/SubMenuItem.vue index 98067660defb96ba1cd022370006bc981ef645f7..c948fc5642dd02cb523e338039e7c2025fe3ed45 100644 --- a/src/components/SimpleMenu/src/components/SubMenuItem.vue +++ b/src/components/SimpleMenu/src/components/SubMenuItem.vue @@ -43,8 +43,8 @@ :class="`${prefixCls}-submenu-title-icon`" /> -