From faf5b9df91a57737909c7c35761b419e9ed8e8f6 Mon Sep 17 00:00:00 2001 From: Kazi Efazul Karim <70346845+efazulkarim@users.noreply.github.com> Date: Wed, 10 Jun 2026 01:28:38 +0600 Subject: [PATCH] ci: add React Doctor workflow Adds .github/workflows/react-doctor.yml to scan every PR with millionco/react-doctor@v2. Posts sticky summary + inline review comments on newly introduced issues only. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/react-doctor.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/react-doctor.yml diff --git a/.github/workflows/react-doctor.yml b/.github/workflows/react-doctor.yml new file mode 100644 index 0000000..a54ea68 --- /dev/null +++ b/.github/workflows/react-doctor.yml @@ -0,0 +1,26 @@ +name: React Doctor + +on: + pull_request: + types: [opened, synchronize, reopened, ready_for_review] + push: + branches: [main] + +permissions: + contents: read + pull-requests: write + issues: write + statuses: write + +concurrency: + group: react-doctor-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + react-doctor: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + with: + fetch-depth: 0 + - uses: millionco/react-doctor@v2