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