From c44fce86e687ea4bcff563afd10c1bda958576e5 Mon Sep 17 00:00:00 2001 From: z0ffy <654109707@qq.com> Date: Fri, 8 Aug 2025 00:17:38 +0800 Subject: [PATCH] build(workflow): update coverage reporting tool and clean up permission comments Bumped codecov action from previous major version to latest release. Removed inline documentation for pull request permissions to maintain cleaner workflow configuration. --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aa450fc..2b0778b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: permissions: contents: read - pull-requests: write # 用于 PR 评论(如测试覆盖率报告) + pull-requests: write jobs: lint: @@ -64,7 +64,7 @@ jobs: - name: Upload coverage reports if: matrix.node-version == '20' - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: false