From 9f6f43423dccfe7066c33a99b02d62ca14d0669b Mon Sep 17 00:00:00 2001 From: alexander-sei Date: Mon, 13 Jul 2026 00:01:00 +0200 Subject: [PATCH] ci: enable UCI AI review and assist workflows Port sei-protocol/sei-chain#3651 to sei-docs. Adds two callers of the shared UCI reusable workflows (pinned to v0.0.12 / 258d2c3): - ai-assist.yml: AI Assistant on issue/PR-review comments and reviews, gated to the sei-protocol/sei-core team. - ai-review.yml: AI Review on PR open/ready/synchronize/reopen. sei-core owns this repo per CODEOWNERS, so allowed-team carries over unchanged. enable-cursor stays false; the comment is reworded to drop the sei-chain-specific claim about Cursor Bugbot being enabled here. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/ai-assist.yml | 22 ++++++++++++++++++++++ .github/workflows/ai-review.yml | 18 ++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 .github/workflows/ai-assist.yml create mode 100644 .github/workflows/ai-review.yml diff --git a/.github/workflows/ai-assist.yml b/.github/workflows/ai-assist.yml new file mode 100644 index 0000000..a7bbdd1 --- /dev/null +++ b/.github/workflows/ai-assist.yml @@ -0,0 +1,22 @@ +name: AI Assistant +on: + issue_comment: + types: [ created ] + pull_request_review_comment: + types: [ created ] + pull_request_review: + types: [ submitted ] +jobs: + assistant: + # See: https://github.com/sei-protocol/uci/releases/tag/v0.0.12 + uses: sei-protocol/uci/.github/workflows/ai-assistant.yml@258d2c3216d54872b33ac07430d23c847fc239ca + permissions: + contents: read + pull-requests: write + issues: write + id-token: write + secrets: inherit + with: + # See: https://github.com/sei-protocol/uci/releases/tag/v0.0.12 + uci-ref: 258d2c3216d54872b33ac07430d23c847fc239ca + allowed-team: 'sei-protocol/sei-core' diff --git a/.github/workflows/ai-review.yml b/.github/workflows/ai-review.yml new file mode 100644 index 0000000..9f952d1 --- /dev/null +++ b/.github/workflows/ai-review.yml @@ -0,0 +1,18 @@ +name: AI Review +on: + pull_request: + types: [ opened, ready_for_review, synchronize, reopened ] +jobs: + ai-review: + # See: https://github.com/sei-protocol/uci/releases/tag/v0.0.12 + uses: sei-protocol/uci/.github/workflows/ai-review.yml@258d2c3216d54872b33ac07430d23c847fc239ca + permissions: + contents: read + pull-requests: write + checks: write + id-token: write + secrets: inherit + with: + # See: https://github.com/sei-protocol/uci/releases/tag/v0.0.12 + uci-ref: 258d2c3216d54872b33ac07430d23c847fc239ca + enable-cursor: false # Disabled for now to avoid duplicate review if Cursor Bugbot is enabled on the repo.