From 22dfbd260fdfc9270dc015b92600023fcfe33dca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E4=BC=9F=E6=9D=B0?= <674416404@qq.com> Date: Tue, 19 May 2026 12:10:22 +0800 Subject: [PATCH] chore: fix ci security --- .github/workflows/issue-assignees.temp.yml | 2 +- .github/workflows/issue-synchronize.temp.yml | 17 ----------------- .github/workflows/preview-publish.yml | 2 +- .github/workflows/pull-request.yml | 2 +- 4 files changed, 3 insertions(+), 20 deletions(-) delete mode 100644 .github/workflows/issue-synchronize.temp.yml diff --git a/.github/workflows/issue-assignees.temp.yml b/.github/workflows/issue-assignees.temp.yml index 83d5d6b..f060efb 100644 --- a/.github/workflows/issue-assignees.temp.yml +++ b/.github/workflows/issue-assignees.temp.yml @@ -41,7 +41,7 @@ jobs: - name: 通知贡献者 if: steps.assignees.outputs.contributors != '' - uses: actions-cool/maintain-one-comment@v2.0.0 + uses: TDesignOteam/workflows/actions/maintain-one-comment@main with: token: ${{ secrets.GITHUB_TOKEN }} body: | diff --git a/.github/workflows/issue-synchronize.temp.yml b/.github/workflows/issue-synchronize.temp.yml deleted file mode 100644 index 4ca7de1..0000000 --- a/.github/workflows/issue-synchronize.temp.yml +++ /dev/null @@ -1,17 +0,0 @@ -# force copy from tencent/tdesign -name: Issue Add Assigness - -on: - issues: - types: [opened, reopened] - -jobs: - mark-duplicate: - runs-on: ubuntu-latest - steps: - # https://docs.github.com/cn/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues - - uses: 94dreamer/create-report@main - with: - wxhook: ${{ secrets.WX_HOOK_URL }} - token: ${{ secrets.GITHUB_TOKEN }} - type: 'issue' \ No newline at end of file diff --git a/.github/workflows/preview-publish.yml b/.github/workflows/preview-publish.yml index 364f99c..278ec79 100644 --- a/.github/workflows/preview-publish.yml +++ b/.github/workflows/preview-publish.yml @@ -10,6 +10,6 @@ on: jobs: call-preview: - uses: Tencent/tdesign/.github/workflows/preview.yml@main + uses: TDesignOteam/workflows/.github/workflows/reusable-pr-preview.yml@main secrets: TDESIGN_SURGE_TOKEN: ${{ secrets.TDESIGN_SURGE_TOKEN }} diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index a6ba5cc..93798f0 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -11,4 +11,4 @@ on: jobs: call-test-build: - uses: Tencent/tdesign/.github/workflows/test-build.yml@main + uses: TDesignOteam/workflows/.github/workflows/reusable-unit-test.yml@main