From 8888f2250f42e55735800ab1bb62d12e508b058e Mon Sep 17 00:00:00 2001 From: coilyco-ops Date: Wed, 4 Nov 2026 11:33:08 -0800 Subject: [PATCH] ci: add a gate job on pull requests and main pushes agent-compose's ci.yml ran on pull requests and manual dispatch only. I added a push to main trigger (the workflow only runs just test and publishes nothing) and an aggregator job named gate that needs test. release.yml is untouched. Refs COI-3297 Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01Lb8qCCuUUM9vgCrutyfFBD Co-authored-by: Kai Siren Co-authored-by: Claude Agent-Role: eng-platform --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48574db..e01bb02 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,8 @@ name: ci on: + push: + branches: [main] pull_request: workflow_dispatch: @@ -39,3 +41,11 @@ jobs: - name: Validate the pull request run: just test + gate: + name: gate + if: ${{ always() }} + needs: [test] + runs-on: ubuntu-latest + steps: + - if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }} + run: exit 1