1
1
openwrt/.github/workflows
Hauke Mehrtens af3cbd4013 github: add LLM PR review wrapper and rules
Drop-in wrapper that calls the reusable LLM review workflows in
openwrt/actions-shared-workflows. Triggers on pull_request_target
(incl. PRs from forks), a nightly cron (03:00 UTC), and manual
workflow_dispatch with a max_prs input override.

A detect-kernels pre-step builds the extra_repos list at workflow
runtime: it reads target/linux/generic/kernel-* in the base branch
to derive gregkh/linux:v<X.Y.Z> tags for each currently-targeted
kernel, then appends u-boot/u-boot:master. The list updates
automatically when kernel versions are bumped; the routine clones
only the entries actually needed for a given diff.

The bundled .github/llm-review-rules.md teaches the bot two
project-specific deprecations to flag even when other in-tree files
still use the legacy form:

  - LED label syntax `label = "<color>:<function>";` -->
    `color = <LED_COLOR_ID_*>;` + `function = "<func>";`
  - `mediatek,mtd-eeprom` for MAC sourcing -->
    `nvmem-cells` + `nvmem-cell-names = "mac-address";`

Repository settings need LLM_ROUTINE_ID_PR / LLM_ROUTINE_TOKEN_PR
and the *_NIGHTLY counterparts populated before the workflow can
fire. See openwrt/actions-shared-workflows/docs/llm-review-setup.md
for the full setup procedure.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Link: https://github.com/openwrt/openwrt/pull/23105
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-05-01 17:14:58 +02:00
..
scripts ci: show_build_failures: fix missing output for configure failures 2023-01-09 11:22:10 +01:00
build-pr-profile.yml ci: rework and move build-on-comment action 2026-01-16 18:42:20 +07:00
claude-code-review.yml github: update claude code action 2026-04-12 17:02:01 +02:00
coverity.yml CI: migrate each workflow to use reusable workflow from dedicated repo 2023-06-25 02:08:56 +02:00
formal.yml formal: fix workflow permissions 2025-11-29 18:05:53 +01:00
github-release.yml github: github-release: update dependencies 2026-04-16 00:50:08 +02:00
issue-labeller.yml CI: issue-labeller: fix wrong CRLF line-ending 2023-11-16 12:38:18 +01:00
kernel.yml CI: provide new required secret for S3 endpoint and bucket name 2023-08-05 01:58:29 +02:00
label-kernel.yml CI: migrate each workflow to use reusable workflow from dedicated repo 2023-06-25 02:08:56 +02:00
label-target.yml CI: migrate each workflow to use reusable workflow from dedicated repo 2023-06-25 02:08:56 +02:00
labeler.yml github: labeler: Update dependencies 2026-04-16 00:50:17 +02:00
llm-review.yml github: add LLM PR review wrapper and rules 2026-05-01 17:14:58 +02:00
packages.yml CI: provide new required secret for S3 endpoint and bucket name 2023-08-05 01:58:29 +02:00
push-containers.yml CI: push-containers: refresh containers also on modify cmake options 2023-10-04 13:28:58 +02:00
toolchain.yml CI: migrate each workflow to use reusable workflow from dedicated repo 2023-06-25 02:08:56 +02:00
tools.yml CI: migrate each workflow to use reusable workflow from dedicated repo 2023-06-25 02:08:56 +02:00