From 065c912d3df3d615d6bc01e5e5c95c0558d6c457 Mon Sep 17 00:00:00 2001 From: chenshuai2144 Date: Sat, 24 Sep 2022 15:19:16 +0800 Subject: [PATCH] chore: update boot --- .github/ISSUE_TEMPLATE/feature_request.md | 2 +- .github/workflows/issue-open-check.yml | 6 +++--- .github/workflows/rebase.yml | 23 ----------------------- 3 files changed, 4 insertions(+), 27 deletions(-) delete mode 100644 .github/workflows/rebase.yml diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 545431d2..b2b866a8 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -1,7 +1,7 @@ --- name: '功能需求 | Feature Requirements ✨' about: 对 Ant Design Pro 的需求或建议 -title: '👑 [需求]' +title: '👑 [需求 | Feature]' labels: '👑 Feature Request' assignees: '' --- diff --git a/.github/workflows/issue-open-check.yml b/.github/workflows/issue-open-check.yml index eef609ee..36442132 100644 --- a/.github/workflows/issue-open-check.yml +++ b/.github/workflows/issue-open-check.yml @@ -13,7 +13,7 @@ jobs: with: actions: 'check-issue' issue-number: ${{ github.event.issue.number }} - title-excludes: '🐛[BUG], 👑 [需求], 🧐[问题]' + title-excludes: '🐛 [BUG], 👑 [需求 | Feature], 🧐[问题 | question]' - if: steps.check.outputs.check-result == 'false' && github.event.issue.state == 'open' uses: actions-cool/issues-helper@v2.2.0 @@ -28,7 +28,7 @@ jobs: - if: steps.check.outputs.check-result == 'true' uses: actions-cool/issues-similarity-analysis@v1 with: - filter-threshold: 0.5 - title-excludes: '🐛[BUG], 👑 [需求], 🧐[问题]' + filter-threshold: 0.8 + title-excludes: '🐛[BUG], 👑 [需求 | Feature], 🧐[问题 | question]' comment-title: '### 以下的 Issues 可能会帮助到你 / The following issues may help you' show-footer: false diff --git a/.github/workflows/rebase.yml b/.github/workflows/rebase.yml deleted file mode 100644 index 6d605e9d..00000000 --- a/.github/workflows/rebase.yml +++ /dev/null @@ -1,23 +0,0 @@ -on: - issue_comment: - types: [created] -name: Automatic Rebase -permissions: - contents: read - -jobs: - rebase: - permissions: - contents: write # for cirrus-actions/rebase to push code to rebase - pull-requests: read # for cirrus-actions/rebase to get info about PR - name: Rebase - if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase') - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@master - with: - fetch-depth: 0 - - name: Automatic Rebase - uses: cirrus-actions/rebase@1.3 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}