Skip to content
This repository was archived by the owner on Sep 27, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
name: ci

# greentree's CI is `greentree serve` on a warm machine, which verifies
# every pushed commit and posts greentree/<check> statuses. This workflow
# is the cold-isolation fallback for pull requests (fork code should not
# run on the warm runner). It installs greentree from the checkout and
# runs the same `full` check the serve loop runs.
# The cold-isolation fallback, for pull requests from FORKS only. Code from
# a fork is untrusted and cannot have been attested in a workspace, so it
# runs here in an ephemeral runner. Branches within this repo are verified
# before the push and carry a greentree/full status already, so this job
# skips them rather than re-running cold CI (which the pre-push gate exists
# to avoid). It installs greentree from the checkout and runs the same
# `full` check.

on:
pull_request:

jobs:
check:
if: github.event.pull_request.head.repo.fork == true
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
Expand Down