Skip to content

Commit b7cec63

Browse files
authored
Merge pull request #24 from radroid/t3x/fork-ci-pr-gate
ci(t3x): add fork-runnable PR/main verify gate
2 parents 6dc983f + b8aacb5 commit b7cec63

2 files changed

Lines changed: 55 additions & 1 deletion

File tree

‎.github/workflows/t3x-ci.yml‎

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# t3x fork CI — the fork's real PR/main gate.
2+
#
3+
# Upstream's ci.yml runs on blacksmith-* runners the fork has no access to, so it never runs
4+
# here and PRs show "no checks". This runs the same fast checks on ubuntu-latest so every fork
5+
# PR (and every push to main / a sync branch) gets an independent typecheck/lint/test gate.
6+
#
7+
# NOTE: pull_request does NOT fire on a CONFLICTING sync PR (GitHub can't build the merge ref),
8+
# so sync branches are gated by the push trigger on `t3x/sync-**` instead — an independent check
9+
# alongside the resolve job's own verify.
10+
name: t3x fork CI
11+
12+
on:
13+
pull_request:
14+
push:
15+
branches:
16+
- main
17+
- "t3x/sync-**"
18+
workflow_dispatch: {}
19+
20+
permissions:
21+
contents: read
22+
23+
concurrency:
24+
group: t3x-ci-${{ github.ref }}
25+
cancel-in-progress: true
26+
27+
jobs:
28+
verify:
29+
runs-on: ubuntu-latest
30+
timeout-minutes: 20
31+
steps:
32+
- name: Checkout
33+
uses: actions/checkout@v6
34+
35+
- name: Setup Vite+
36+
uses: voidzero-dev/setup-vp@v1
37+
with:
38+
node-version-file: package.json
39+
cache: true
40+
run-install: true
41+
42+
# Run all three even if an earlier one fails, so a single run reports every failure.
43+
- name: Typecheck
44+
run: vp run typecheck
45+
46+
- name: Lint
47+
if: ${{ !cancelled() }}
48+
run: vp run lint
49+
50+
- name: Test
51+
if: ${{ !cancelled() }}
52+
run: vp run test

‎docs/t3x/SEAMS.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ file, deliberately avoiding the upstream-owned migration registry.)
5656
- `apps/server/src/t3x/**` — feature code + the `T3xLayerLive` aggregator.
5757
- `scripts/t3x/**` — fork setup, upstream-sync, and desktop auto-build scripts
5858
(incl. `scripts/t3x/hooks/**`, opt-in git hooks that are never auto-installed).
59-
- `.github/workflows/t3x-upstream-sync.yml`, `.github/workflows/t3x-weekly-verify.yml`.
59+
- `.github/workflows/t3x-*.yml` — `t3x-upstream-sync.yml`, `t3x-weekly-verify.yml`,
60+
`t3x-sync-resolve.yml`, `t3x-ci.yml` (the fork's PR/main gate; upstream's `ci.yml` needs
61+
blacksmith runners the fork can't use).
6062
- `docs/t3x/**`, `docs/superpowers/specs/2026-07-23-*`.
6163

6264
### Desktop auto-build (`scripts/t3x/auto-build-desktop.sh`)

0 commit comments

Comments
 (0)