Skip to content

Commit 8ce4e0d

Browse files
committed
ci: rename action to friendlyai-review (public wrapper)
Swap the private RBKunnela/sinkra-action for the public RBKunnela/friendlyai-review wrapper. The action behaviour is identical (same 9-agent council) but the public wrapper is consumable from any repo and carries the FriendlyAI public brand. Changes: - delete .github/workflows/sinkra-validation.yml - add .github/workflows/friendlyai-review.yml - SHA-pin to cd694398 (v0.1.0) - check-run name: `friendlyai-review/verdict` - workflow job name: `9-agent council review` The post-merge step (add the verbatim check context to required_status_checks.contexts) stays the same; the new context name will be captured from `gh pr checks` after CI runs.
1 parent 98e6800 commit 8ce4e0d

2 files changed

Lines changed: 46 additions & 45 deletions

File tree

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: FriendlyAI Review
2+
3+
# Wires RBKunnela/friendlyai-review — a 9-agent council that reviews every PR
4+
# for architecture, code quality, data, ops, product, and quality concerns.
5+
#
6+
# Verdict is delivered as a GitHub check-run named "friendlyai-review/verdict".
7+
# To make this a required status check on main, add the verbatim check context
8+
# name to branch protection's required_status_checks.contexts AFTER this
9+
# workflow has run at least once. The check name is captured from
10+
# `gh pr checks` post-run.
11+
#
12+
# Governance: this is a chore-style CI wiring change; the full review chain
13+
# (sm/po/dev/qa/devops) still applies. Only @devops merges. See
14+
# `.claude/rules/automated-pr-merge-authority.md`.
15+
16+
on:
17+
pull_request:
18+
types: [opened, synchronize, reopened]
19+
push:
20+
branches: [main]
21+
22+
permissions:
23+
contents: read
24+
pull-requests: write
25+
checks: write
26+
issues: write
27+
28+
jobs:
29+
friendlyai-review:
30+
name: 9-agent council review
31+
runs-on: ubuntu-latest
32+
steps:
33+
- name: Checkout PR head
34+
uses: actions/checkout@v4
35+
with:
36+
fetch-depth: 0
37+
38+
- name: Run FriendlyAI Review (v0.1.0, SHA-pinned)
39+
# SHA pin per supply-chain hygiene. To upgrade, bump SHA + comment to the
40+
# corresponding tag from https://github.com/RBKunnela/friendlyai-review/tags
41+
uses: RBKunnela/friendlyai-review@cd694398eef0e9cc645644f83132f03efdb56d01 # v0.1.0
42+
with:
43+
zai-api-key: ${{ secrets.ZAI_API_KEY }}
44+
github-token: ${{ secrets.GITHUB_TOKEN }}
45+
# Defaults are used for: zai-base-url, model (glm-4.6), agents (all),
46+
# max-diff-tokens (15000). Override here only if a repo has special needs.

.github/workflows/sinkra-validation.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)