From aa93166e0401609e46746aaa88f54ffc7411e939 Mon Sep 17 00:00:00 2001 From: TonyRL Date: Sat, 14 Feb 2026 13:41:04 +0000 Subject: [PATCH] chore: explicit skip pr-review --- .github/workflows/pr-review.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr-review.yml b/.github/workflows/pr-review.yml index 98f3a2506..b4f8a08f9 100644 --- a/.github/workflows/pr-review.yml +++ b/.github/workflows/pr-review.yml @@ -59,7 +59,7 @@ jobs: fi - name: Comment on failed Docker build - if: github.event_name != 'workflow_dispatch' && github.event.workflow_run.conclusion == 'failure' && steps.check-pr-author.outputs.skip == 'false' + if: github.event_name != 'workflow_dispatch' && github.event.workflow_run.conclusion == 'failure' env: GH_TOKEN: ${{ github.token }} PR_TARGET_REPO: ${{ github.repository }} @@ -71,19 +71,16 @@ jobs: Please fix the Docker build test issues first." - - name: Exit if Dependabot or Docker build failed - if: github.event_name != 'workflow_dispatch' && (steps.check-pr-author.outputs.skip == 'true' || github.event.workflow_run.conclusion == 'failure') - run: | - echo "Skipping PR review: Dependabot PR or Docker build failed" - exit 0 - - name: Set up Bun + if: github.event_name == 'workflow_dispatch' || (steps.check-pr-author.outputs.skip != 'true' && github.event.workflow_run.conclusion != 'failure') uses: oven-sh/setup-bun@3d267786b128fe76c2f16a390aa2448b815359f3 # v2.1.2 - name: Install opencode + if: github.event_name == 'workflow_dispatch' || (steps.check-pr-author.outputs.skip != 'true' && github.event.workflow_run.conclusion != 'failure') run: curl -fsSL https://opencode.ai/install | bash - name: Review PR with rules + if: github.event_name == 'workflow_dispatch' || (steps.check-pr-author.outputs.skip != 'true' && github.event.workflow_run.conclusion != 'failure') env: OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}