From c1f1dec243b16813aed819f609825ff247abd6aa Mon Sep 17 00:00:00 2001 From: yoyo837 Date: Fri, 31 Jul 2026 17:39:52 +0800 Subject: [PATCH] ci: fix React Doctor workflow --- .github/workflows/react-doctor.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/react-doctor.yml b/.github/workflows/react-doctor.yml index 4a3e5284..73ed3728 100644 --- a/.github/workflows/react-doctor.yml +++ b/.github/workflows/react-doctor.yml @@ -3,10 +3,14 @@ name: React Doctor on: pull_request: branches: [master] + push: + branches: [master] permissions: contents: read pull-requests: write + issues: write + statuses: write concurrency: group: react-doctor-${{ github.event.pull_request.number || github.ref }} @@ -18,7 +22,8 @@ jobs: steps: - uses: actions/checkout@v7 with: + fetch-depth: 0 persist-credentials: false - - uses: millionco/react-doctor@0b4f4f4bd248a154e64eb508a48347f71154b3f3 + - uses: millionco/react-doctor@01820bb4fd4d0a4aebcd8df2b2a143a098649cb2 with: version: 0.7.4