Skip to content

Open-source AI coworkers that each get a computer of their own: a browser, files and tools, with every action decided before it happens and recorded after. Bring any AG-UI agent.

Run the container-boot check only when a PR is a merge candidate (#117)

David McKayae8e329423a9
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 959a1271..efc75863 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -130,6 +130,15 @@ jobs:
image:
name: image
runs-on: ubuntu-latest
+ # The only slow job: it builds the container and boots it, ~14 minutes. The four checks above are
+ # seconds and stay on every push, because they catch most things cheaply. This one is the cost, so
+ # on a pull request it runs only when an admin adds the `full-ci` label — the point at which the PR
+ # is actually a merge candidate. On main and through the release workflow_call it always runs, so
+ # nothing reaches a release without it. `verify` treats a skipped job as passing, so an unlabelled
+ # PR is green on the cheap checks alone.
+ if: >-
+ github.event_name != 'pull_request' ||
+ contains(github.event.pull_request.labels.*.name, 'full-ci')
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with: