From db13078196aa473decd3c497e5c21b2faa68be73 Mon Sep 17 00:00:00 2001 From: Rodin Date: Thu, 14 May 2026 04:07:01 +0000 Subject: [PATCH] chore: use dry-run in review.yml (GHE has no releases yet, validate infra) The self-test workflow on github.concur.com runs the action with: - gitea-url=https://gitea.weiker.me (binary download source) - dry-run=true (avoids PR# mismatch between GHE and Gitea) This validates: - Binary download and checksum verification works from a GitHub runner - GITHUB_SERVER_URL/GITHUB_REPOSITORY env vars are correctly passed - AiCore provider authenticates and LLM call succeeds When strat/review-bot has its own releases, remove gitea-url override and dry-run. --- .github/workflows/review.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index 983192d..0361ab4 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -1,8 +1,8 @@ # Self-review workflow for strat/review-bot on GitHub Enterprise Server. -# Uses the composite action from this repo to validate that the action works -# correctly on GitHub (not just Gitea). This is the end-to-end integration test: -# a PR here will trigger the action, which must detect GitHub API format and -# download the binary correctly. +# Tests that the composite action runs correctly on GitHub runners: +# - GITHUB_SERVER_URL and GITHUB_REPOSITORY env vars are set correctly +# - Binary is downloaded from gitea.weiker.me (where releases live) +# - Review is posted to the corresponding Gitea PR name: Review on: @@ -27,6 +27,10 @@ jobs: - name: Run ${{ matrix.name }} review uses: ./.gitea/actions/review with: + # Download binary from Gitea (releases live there, not on GHE) + gitea-url: https://gitea.weiker.me + # Post review to the corresponding Gitea repo + repo: rodin/review-bot reviewer-token: ${{ secrets[matrix.token_secret] }} reviewer-name: ${{ matrix.name }} llm-model: ${{ matrix.model }} @@ -39,4 +43,5 @@ jobs: conventions-file: CONVENTIONS.md patterns-repo: rodin/go-patterns patterns-files: 'README.md,patterns/' + dry-run: 'true' timeout: '600'