From 75b403414756eca9c174d1d1f82b2d9ac9e8df84 Mon Sep 17 00:00:00 2001 From: chenshuai2144 Date: Sun, 3 Jul 2022 22:41:29 +0800 Subject: [PATCH] chore: remove unuse code --- .github/workflows/issue-open-check.yml | 2 +- .github/workflows/preview-deploy.yml | 12 ++++++------ .github/workflows/rebase.yml | 4 ++-- src/app.tsx | 1 - 4 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/issue-open-check.yml b/.github/workflows/issue-open-check.yml index 3d6f017c..2932023b 100644 --- a/.github/workflows/issue-open-check.yml +++ b/.github/workflows/issue-open-check.yml @@ -28,7 +28,7 @@ jobs: - if: steps.check.outputs.check-result == 'true' uses: actions-cool/issues-similarity-analysis@v1.1.0 with: - filter-threshold: 0.6 + filter-threshold: 0.4 title-excludes: '🐛[BUG], 👑 [需求], 🧐[问题]' comment-title: '### 以下的 Issues 可能会帮助到你 / The following issues may help you' show-footer: false diff --git a/.github/workflows/preview-deploy.yml b/.github/workflows/preview-deploy.yml index 5fc642fb..e9a699ff 100644 --- a/.github/workflows/preview-deploy.yml +++ b/.github/workflows/preview-deploy.yml @@ -12,9 +12,9 @@ permissions: jobs: success: permissions: - actions: read # for dawidd6/action-download-artifact to query and download artifacts - issues: write # for actions-cool/maintain-one-comment to modify or create issue comments - pull-requests: write # for actions-cool/maintain-one-comment to modify or create PR comments + actions: read # for dawidd6/action-download-artifact to query and download artifacts + issues: write # for actions-cool/maintain-one-comment to modify or create issue comments + pull-requests: write # for actions-cool/maintain-one-comment to modify or create PR comments runs-on: ubuntu-latest if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' steps: @@ -70,9 +70,9 @@ jobs: failed: permissions: - actions: read # for dawidd6/action-download-artifact to query and download artifacts - issues: write # for actions-cool/maintain-one-comment to modify or create issue comments - pull-requests: write # for actions-cool/maintain-one-comment to modify or create PR comments + actions: read # for dawidd6/action-download-artifact to query and download artifacts + issues: write # for actions-cool/maintain-one-comment to modify or create issue comments + pull-requests: write # for actions-cool/maintain-one-comment to modify or create PR comments runs-on: ubuntu-latest if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'failure' steps: diff --git a/.github/workflows/rebase.yml b/.github/workflows/rebase.yml index a5bbc4c6..6d605e9d 100644 --- a/.github/workflows/rebase.yml +++ b/.github/workflows/rebase.yml @@ -8,8 +8,8 @@ permissions: 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 + 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 diff --git a/src/app.tsx b/src/app.tsx index 72028844..38a8f2d9 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -55,7 +55,6 @@ export const layout: RunTimeLayoutConfig = ({ initialState, setInitialState }) = footerRender: () =>