From 3d79bb8b1859f2671e7c5044cb825346884c7653 Mon Sep 17 00:00:00 2001 From: Frank Bria Date: Thu, 9 Jul 2026 22:37:07 -0700 Subject: [PATCH] Add GLM inline review workflow (frankbria/glm-review) --- .github/workflows/glm-review.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/glm-review.yml diff --git a/.github/workflows/glm-review.yml b/.github/workflows/glm-review.yml new file mode 100644 index 0000000..62916ad --- /dev/null +++ b/.github/workflows/glm-review.yml @@ -0,0 +1,23 @@ +name: GLM Review +on: + pull_request: + types: [opened, synchronize] + paths-ignore: + - "**/*.md" + - ".gitignore" + +jobs: + review: + # Only review substantial changes (5+ files, or 20+ additions, or 20+ deletions) + if: | + github.event.pull_request.changed_files >= 5 || + github.event.pull_request.additions >= 20 || + github.event.pull_request.deletions >= 20 + uses: frankbria/glm-review/.github/workflows/review.yml@main + permissions: + contents: read + pull-requests: write + issues: write + id-token: write + secrets: + ZHIPU_API_KEY: ${{ secrets.ZHIPU_API_KEY }}