From 2f078ab761cccd278d69d1d17f0844e7c5deb67a Mon Sep 17 00:00:00 2001 From: Yash Datta Date: Thu, 23 Jul 2026 16:21:16 +0800 Subject: [PATCH] devops: drop self-hosted Gemini review workflow; pin CI runner AI review is now the org-level highflame-oracle + gemini-code-assist apps, matching the other Highflame repos, so the self-hosted `gemini-review.yml` (added in #2) is redundant. Removed. Pins the CI runner to `ubuntu-24.04`. Co-authored-by: Claude Opus 4.8 (1M context) --- .github/workflows/ci.yml | 2 +- .github/workflows/gemini-review.yml | 42 ----------------------------- 2 files changed, 1 insertion(+), 43 deletions(-) delete mode 100644 .github/workflows/gemini-review.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1afbb77..5a67a14 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ concurrency: jobs: check: name: typecheck + lint - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 diff --git a/.github/workflows/gemini-review.yml b/.github/workflows/gemini-review.yml deleted file mode 100644 index 9cb5f87..0000000 --- a/.github/workflows/gemini-review.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: Gemini code review - -on: - pull_request: - types: [opened] - issue_comment: - types: [created] - -permissions: - contents: read - pull-requests: write - -# One review in flight per PR; a newer request supersedes a stale run. -concurrency: - group: gemini-review-${{ github.event.pull_request.number || github.event.issue.number }} - cancel-in-progress: true - -jobs: - review: - # Run on PR open, or on a PR comment containing the re-review command. - if: > - github.event_name == 'pull_request' || - (github.event_name == 'issue_comment' && - github.event.issue.pull_request && - startsWith(github.event.comment.body, '/gemini-review')) - runs-on: ubuntu-latest - # Guards runner minutes if the Gemini API or action ever hangs. - timeout-minutes: 10 - steps: - - uses: actions/checkout@v4 - # Pinned to v1.3.0 — bump deliberately, this action receives the API key. - - uses: jgunnink/gemini-review-bot@37b292a16543cd97f443416bf803dd863583c53b # v1.3.0 - with: - gemini_api_key: ${{ secrets.GEMINI_API_KEY }} - # No `model:` override — inherits the action's own default, - # gemini-flash-latest. That's a ROLLING alias (not a pinned - # snapshot like gemini-2.5-flash): Google repoints it to their - # current best free-tier flash model, and it's the exact id the - # action's PRD calls out as "cheapest/fastest; fits free-tier - # quota" and the one its own spike-test workflow verifies against. - # Pin an explicit model here only if you need reproducible - # review behavior across time more than you need it current.