From 97b870af8d4036ae8e2ba7b789d53c378dc60d8f Mon Sep 17 00:00:00 2001 From: yoyo837 Date: Fri, 31 Jul 2026 17:24:58 +0800 Subject: [PATCH] ci: fix React Doctor workflow --- .github/workflows/react-doctor.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/react-doctor.yml b/.github/workflows/react-doctor.yml index 987d866..6ca9949 100644 --- a/.github/workflows/react-doctor.yml +++ b/.github/workflows/react-doctor.yml @@ -3,10 +3,14 @@ name: React Doctor on: pull_request: branches: [main] + push: + branches: [main] permissions: contents: read pull-requests: write + issues: write + statuses: write concurrency: group: react-doctor-${{ github.event.pull_request.number || github.ref }} @@ -18,8 +22,7 @@ jobs: steps: - uses: actions/checkout@v7 with: + fetch-depth: 0 persist-credentials: false - - uses: millionco/react-doctor@0b4f4f4bd248a154e64eb508a48347f71154b3f3 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} + - uses: millionco/react-doctor@01820bb4fd4d0a4aebcd8df2b2a143a098649cb2