From c20d0963d8db0f7bd0e03531925976b7aea02869 Mon Sep 17 00:00:00 2001 From: admin Date: Wed, 8 Jul 2026 09:28:36 -0500 Subject: [PATCH] ci(koinon): delegate gate-attestation to the fleet reusable Replace the inline copy (which lacked any release-please waiver, failing every release PR with 'No Gate-Passed trailer found') with a thin caller of the canonical reusable, pinned past the branch-shaped release-please waiver (forkwright/.github#10). One fact, one place. Gate-Passed: kanon 0.1.6 +stages:fmt,check,clippy,nextest,lint sha:e1f5bbf3613d800a989cbb5191a27201b59e0a43 --- .github/workflows/gate-attestation.yml | 37 +++----------------------- 1 file changed, 3 insertions(+), 34 deletions(-) diff --git a/.github/workflows/gate-attestation.yml b/.github/workflows/gate-attestation.yml index c37a2c8..bda4ed3 100644 --- a/.github/workflows/gate-attestation.yml +++ b/.github/workflows/gate-attestation.yml @@ -9,39 +9,8 @@ permissions: concurrency: group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true + cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: - gate-attestation: - name: gate-attestation - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - with: - fetch-depth: 0 - persist-credentials: false - - - name: Verify Gate-Passed trailer - run: | - commits=$(git log --format="%H" "origin/${{ github.base_ref }}..HEAD") - if [ -z "$commits" ]; then - echo "ERROR: No commits found in PR" - exit 1 - fi - - found=false - for sha in $commits; do - body=$(git log -1 --format="%b" "$sha") - if echo "$body" | grep -q "^Gate-Passed:"; then - version=$(echo "$body" | grep "^Gate-Passed:" | head -1) - echo "Found gate attestation: $version" - found=true - break - fi - done - - if [ "$found" = false ]; then - echo "ERROR: No Gate-Passed trailer found in any PR commit." - echo "Run the local gate and commit with the trailer." - exit 1 - fi + gate: + uses: forkwright/.github/.github/workflows/gate-attestation.yml@5be130bfebd5165d3221f1896f96b5ce6e93bf9b