From 4871040d5d598e9156aacd99381f7aa7c57393e1 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Thu, 21 May 2026 21:11:54 +0200 Subject: [PATCH] github: LLM-review: stop reviewing new PRs automatically Drop the pull_request_target trigger so the LLM review no longer runs on opened/reopened PRs. We are limited to 15 Claude routine runs per day, and the automatic per-PR trigger exhausted that budget on several days, starving the nightly digest. The nightly schedule and manual workflow_dispatch triggers remain. Link: https://github.com/openwrt/openwrt/pull/23474 Signed-off-by: Hauke Mehrtens --- .github/workflows/llm-review.yml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/.github/workflows/llm-review.yml b/.github/workflows/llm-review.yml index f35c76c6308..faf53301174 100644 --- a/.github/workflows/llm-review.yml +++ b/.github/workflows/llm-review.yml @@ -1,8 +1,6 @@ name: LLM Review on: - pull_request_target: - types: [opened, reopened] schedule: - cron: '0 3 * * *' workflow_dispatch: @@ -16,7 +14,7 @@ on: permissions: {} concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || 'nightly' }} + group: ${{ github.workflow }}-nightly cancel-in-progress: false jobs: @@ -66,17 +64,6 @@ jobs: echo "Computed extra_repos: $extra" echo "extra_repos=$extra" >> "$GITHUB_OUTPUT" - pr-review: - if: github.event_name == 'pull_request_target' && github.repository_owner == 'openwrt' - needs: detect-kernels - permissions: {} - uses: openwrt/actions-shared-workflows/.github/workflows/reusable_llm-pr-review.yml@main - with: - routine_id: ${{ vars.LLM_ROUTINE_ID_PR }} - extra_repos: ${{ needs.detect-kernels.outputs.extra_repos }} - secrets: - llm_routine_token: ${{ secrets.LLM_ROUTINE_TOKEN_PR }} - nightly: if: (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.repository_owner == 'openwrt' needs: detect-kernels