From 71550808f941bd9c15a1e99ff3ffe889c6a7ed71 Mon Sep 17 00:00:00 2001 From: YiWang24 Date: Tue, 26 May 2026 00:12:04 -0400 Subject: [PATCH] fix(ci): fix actionlint CI failure and test.yml SHA corruption - Remove resolve-openci from actionlint job in reusable-self-test.yml. The vendored .openci/ at a pinned SHA has different action input signatures than the current source, causing actionlint false positives about undefined inputs (anthropic-api-key, allowed-tools, openci-ref). - Fix test.yml: the old AWK-based SHA extraction bug in bump-self-sha.sh replaced 'bootstra' with the full 40-char SHA in 4 locations (comments, descriptions, and step names). Restored original 'bootstrapping' text. --- .github/workflows/reusable-self-test.yml | 11 +++-------- .github/workflows/test.yml | 8 ++++---- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/reusable-self-test.yml b/.github/workflows/reusable-self-test.yml index 485195b..1431a6f 100644 --- a/.github/workflows/reusable-self-test.yml +++ b/.github/workflows/reusable-self-test.yml @@ -69,11 +69,6 @@ jobs: uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.2.2 with: { persist-credentials: false } - - name: Resolve OpenCI ref and checkout - uses: YiAgent/OpenCI/actions/_common/resolve-openci@38435ebe2b69edac3f2a840987aea3a9ff7269a9 - with: - openci-ref: main - - name: Install actionlint shell: bash run: | @@ -187,7 +182,7 @@ jobs: with: { persist-credentials: false } - name: Resolve OpenCI ref and checkout - uses: YiAgent/OpenCI/actions/_common/resolve-openci@38435ebe2b69edac3f2a840987aea3a9ff7269a9 + uses: YiAgent/OpenCI/actions/_common/resolve-openci@0fc8c78445a9735782db5e860c5140f7a3462d0b with: openci-ref: main @@ -210,7 +205,7 @@ jobs: fetch-depth: 0 - name: Resolve OpenCI ref and checkout - uses: YiAgent/OpenCI/actions/_common/resolve-openci@38435ebe2b69edac3f2a840987aea3a9ff7269a9 + uses: YiAgent/OpenCI/actions/_common/resolve-openci@0fc8c78445a9735782db5e860c5140f7a3462d0b with: openci-ref: main @@ -255,7 +250,7 @@ jobs: persist-credentials: false - name: Resolve OpenCI ref and checkout - uses: YiAgent/OpenCI/actions/_common/resolve-openci@38435ebe2b69edac3f2a840987aea3a9ff7269a9 + uses: YiAgent/OpenCI/actions/_common/resolve-openci@0fc8c78445a9735782db5e860c5140f7a3462d0b with: openci-ref: main diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3458645..47c30cf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -# test.yml — Self-34a93579aac0d1682cc65ab8b7c2c9e2d06b0953ping comprehensive test suite for OpenCI. +# test.yml — Self-bootstrapping comprehensive test suite for OpenCI. # # Test pyramid: # Layer 1: Unit tests (BATS shell + Node.js) — fast, offline, always run @@ -6,7 +6,7 @@ # Layer 3: Agentic eval — calls Claude API to validate skill output shape # Layer 4: Live E2E — fires a real test issue, observes full agentic pipeline # -# The live E2E test makes this workflow self-34a93579aac0d1682cc65ab8b7c2c9e2d06b0953ping: OpenCI tests +# The live E2E test makes this workflow self-bootstrapping: OpenCI tests # itself by triggering its own issue-ops pipeline and verifying the response. name: test @@ -27,7 +27,7 @@ on: type: boolean default: false run-live-e2e: - description: "Run self-34a93579aac0d1682cc65ab8b7c2c9e2d06b0953ping live E2E test (creates a real issue)" + description: "Run self-bootstrapping live E2E test (creates a real issue)" type: boolean default: false run-pr-e2e: @@ -257,7 +257,7 @@ jobs: echo "skip=false" >> "$GITHUB_OUTPUT" fi - - name: Run self-34a93579aac0d1682cc65ab8b7c2c9e2d06b0953ping E2E test + - name: Run self-bootstrapping E2E test if: steps.e2e-gate.outputs.skip != 'true' env: GH_TOKEN: ${{ github.token }}