From e333c379592159746db93b38e2990c4a959717d0 Mon Sep 17 00:00:00 2001 From: "Christian M. Todie" Date: Wed, 11 Nov 2026 11:44:10 -0500 Subject: [PATCH] ci(tap): PR jobs on GitHub-hosted runners, push to main on ent-public-push (OPS-1695) This repository is public, and public repositories stop reaching the internal ent-default runner group (OPS-1695, Christian 2026-11-11). Pull requests run on ubuntu-latest; a push to main runs on the ent-public-push group (label public-push), which admits only main-branch workflows of this repository. Homebrew still comes from the pinned clone. --- .github/workflows/tests.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e27206e..cd0b952 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,7 +1,9 @@ # Tap CI: every formula must install, pass its test, and pass style and a strict audit. -# Runs on the estate's self-hosted runners (GitHub-hosted runners are not used, CER-2908). Those runners -# have no Docker daemon (container jobs fail: no /var/run/docker.sock), so Homebrew runs directly on the -# ephemeral runner from a git clone of Homebrew/brew at a pinned tag, never from a piped install script. +# This repository is public (OPS-1695): pull requests run on a GitHub-hosted runner, and a push to main +# runs on the internal ent-public-push group, which admits only main-branch workflows of this repo. The +# internal runners have no Docker daemon (container jobs fail: no /var/run/docker.sock), so on both, +# Homebrew runs directly on the runner from a git clone of Homebrew/brew at a pinned tag, never from a +# piped install script. # It replaces the scaffold job, which pointed at an unresolvable action ref (Homebrew/actions@master), # ran on macOS, and ended every step in `|| true`, so it could never fail. # @@ -22,7 +24,7 @@ env: HOMEBREW_NO_ENV_HINTS: "1" jobs: test: - runs-on: {group: ent-default, labels: [self-hosted]} + runs-on: ${{ github.event_name == 'push' && fromJSON('{"group":"ent-public-push","labels":["public-push"]}') || 'ubuntu-latest' }} steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Homebrew from a pinned clone