From e20fa7a86e5cd23643b882722712bac5f03aa639 Mon Sep 17 00:00:00 2001 From: Safia Abdalla Date: Tue, 28 Apr 2026 07:39:19 -0700 Subject: [PATCH] ci: pass OSS_WARP_API_KEY to oz-for-oss reusable workflows (#9220) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description The reusable workflows under [`warpdotdev/oz-for-oss`](https://github.com/warpdotdev/oz-for-oss/tree/main/.github/workflows) declare their Warp API key secret as `OSS_WARP_API_KEY`, but the local caller workflows in this repo were forwarding it as `WARP_API_KEY`. Because the name being passed didn't match the name declared by `workflow_call`, the required secret was effectively missing and an undeclared secret was being passed instead, which caused `startup_failure` on every invocation. Example failure: https://github.com/warpdotdev/warp/actions/runs/25058665906 (Triage New Issues (Local), `startup_failure`). This PR renames the forwarded secret to `OSS_WARP_API_KEY:` in all local adapter workflows so the names match what the reusable workflows declare. The underlying secret value is still pulled from `secrets.OSS_WARP_API_KEY` in this repo, so no repo secret changes are needed. Affected workflows: - `.github/workflows/create-implementation-from-issue-local.yml` - `.github/workflows/create-spec-from-issue-local.yml` - `.github/workflows/enforce-pr-issue-state.yml` - `.github/workflows/respond-to-pr-comment-local.yml` - `.github/workflows/respond-to-triaged-issue-comment-local.yml` - `.github/workflows/review-pull-request.yml` - `.github/workflows/triage-new-issues-local.yml` - `.github/workflows/trigger-implementation-on-plan-approved-local.yml` - `.github/workflows/update-dedupe-local.yml` - `.github/workflows/update-pr-review-local.yml` - `.github/workflows/update-triage-local.yml` - `.github/workflows/verify-pr-comment-local.yml` ## Testing Manual review of the rename. After merge, re-run the failing `Triage New Issues (Local)` workflow to confirm it no longer hits `startup_failure` due to a missing required secret. ## Server API dependencies N/A — CI workflow change only. ## Agent Mode - [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode _Conversation: https://staging.warp.dev/conversation/fbace74a-9da2-445f-8486-e5a5907dce57_ _Run: https://oz.staging.warp.dev/runs/019dd47c-42e0-7072-8206-e6be4df5cde7_ _This PR was generated with [Oz](https://warp.dev/oz)._ Co-authored-by: Oz Agent --- .github/workflows/create-implementation-from-issue-local.yml | 2 +- .github/workflows/create-spec-from-issue-local.yml | 2 +- .github/workflows/enforce-pr-issue-state.yml | 2 +- .github/workflows/respond-to-pr-comment-local.yml | 2 +- .github/workflows/respond-to-triaged-issue-comment-local.yml | 2 +- .github/workflows/review-pull-request.yml | 2 +- .github/workflows/triage-new-issues-local.yml | 2 +- .../workflows/trigger-implementation-on-plan-approved-local.yml | 2 +- .github/workflows/update-dedupe-local.yml | 2 +- .github/workflows/update-pr-review-local.yml | 2 +- .github/workflows/update-triage-local.yml | 2 +- .github/workflows/verify-pr-comment-local.yml | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/create-implementation-from-issue-local.yml b/.github/workflows/create-implementation-from-issue-local.yml index 42eb27c0..6b813ce0 100644 --- a/.github/workflows/create-implementation-from-issue-local.yml +++ b/.github/workflows/create-implementation-from-issue-local.yml @@ -31,4 +31,4 @@ jobs: secrets: OZ_MGMT_GHA_APP_ID: ${{ secrets.OZ_MGMT_GHA_APP_ID }} OZ_MGMT_GHA_PRIVATE_KEY: ${{ secrets.OZ_MGMT_GHA_PRIVATE_KEY }} - WARP_API_KEY: ${{ secrets.OSS_WARP_API_KEY }} + OSS_WARP_API_KEY: ${{ secrets.OSS_WARP_API_KEY }} diff --git a/.github/workflows/create-spec-from-issue-local.yml b/.github/workflows/create-spec-from-issue-local.yml index b2ade69c..86b40cbb 100644 --- a/.github/workflows/create-spec-from-issue-local.yml +++ b/.github/workflows/create-spec-from-issue-local.yml @@ -31,4 +31,4 @@ jobs: secrets: OZ_MGMT_GHA_APP_ID: ${{ secrets.OZ_MGMT_GHA_APP_ID }} OZ_MGMT_GHA_PRIVATE_KEY: ${{ secrets.OZ_MGMT_GHA_PRIVATE_KEY }} - WARP_API_KEY: ${{ secrets.OSS_WARP_API_KEY }} + OSS_WARP_API_KEY: ${{ secrets.OSS_WARP_API_KEY }} diff --git a/.github/workflows/enforce-pr-issue-state.yml b/.github/workflows/enforce-pr-issue-state.yml index 8bf8bf7c..7535daf6 100644 --- a/.github/workflows/enforce-pr-issue-state.yml +++ b/.github/workflows/enforce-pr-issue-state.yml @@ -36,4 +36,4 @@ jobs: secrets: OZ_MGMT_GHA_APP_ID: ${{ secrets.OZ_MGMT_GHA_APP_ID }} OZ_MGMT_GHA_PRIVATE_KEY: ${{ secrets.OZ_MGMT_GHA_PRIVATE_KEY }} - WARP_API_KEY: ${{ secrets.OSS_WARP_API_KEY }} + OSS_WARP_API_KEY: ${{ secrets.OSS_WARP_API_KEY }} diff --git a/.github/workflows/respond-to-pr-comment-local.yml b/.github/workflows/respond-to-pr-comment-local.yml index b286d85e..92e43284 100644 --- a/.github/workflows/respond-to-pr-comment-local.yml +++ b/.github/workflows/respond-to-pr-comment-local.yml @@ -21,4 +21,4 @@ jobs: secrets: OZ_MGMT_GHA_APP_ID: ${{ secrets.OZ_MGMT_GHA_APP_ID }} OZ_MGMT_GHA_PRIVATE_KEY: ${{ secrets.OZ_MGMT_GHA_PRIVATE_KEY }} - WARP_API_KEY: ${{ secrets.OSS_WARP_API_KEY }} + OSS_WARP_API_KEY: ${{ secrets.OSS_WARP_API_KEY }} diff --git a/.github/workflows/respond-to-triaged-issue-comment-local.yml b/.github/workflows/respond-to-triaged-issue-comment-local.yml index a30c746e..c47b9e45 100644 --- a/.github/workflows/respond-to-triaged-issue-comment-local.yml +++ b/.github/workflows/respond-to-triaged-issue-comment-local.yml @@ -19,4 +19,4 @@ jobs: secrets: OZ_MGMT_GHA_APP_ID: ${{ secrets.OZ_MGMT_GHA_APP_ID }} OZ_MGMT_GHA_PRIVATE_KEY: ${{ secrets.OZ_MGMT_GHA_PRIVATE_KEY }} - WARP_API_KEY: ${{ secrets.OSS_WARP_API_KEY }} + OSS_WARP_API_KEY: ${{ secrets.OSS_WARP_API_KEY }} diff --git a/.github/workflows/review-pull-request.yml b/.github/workflows/review-pull-request.yml index c05ca169..f3a1d14d 100644 --- a/.github/workflows/review-pull-request.yml +++ b/.github/workflows/review-pull-request.yml @@ -138,4 +138,4 @@ jobs: secrets: OZ_MGMT_GHA_APP_ID: ${{ secrets.OZ_MGMT_GHA_APP_ID }} OZ_MGMT_GHA_PRIVATE_KEY: ${{ secrets.OZ_MGMT_GHA_PRIVATE_KEY }} - WARP_API_KEY: ${{ secrets.OSS_WARP_API_KEY }} + OSS_WARP_API_KEY: ${{ secrets.OSS_WARP_API_KEY }} diff --git a/.github/workflows/triage-new-issues-local.yml b/.github/workflows/triage-new-issues-local.yml index f1eb63d9..57d446f0 100644 --- a/.github/workflows/triage-new-issues-local.yml +++ b/.github/workflows/triage-new-issues-local.yml @@ -57,4 +57,4 @@ jobs: secrets: OZ_MGMT_GHA_APP_ID: ${{ secrets.OZ_MGMT_GHA_APP_ID }} OZ_MGMT_GHA_PRIVATE_KEY: ${{ secrets.OZ_MGMT_GHA_PRIVATE_KEY }} - WARP_API_KEY: ${{ secrets.OSS_WARP_API_KEY }} + OSS_WARP_API_KEY: ${{ secrets.OSS_WARP_API_KEY }} diff --git a/.github/workflows/trigger-implementation-on-plan-approved-local.yml b/.github/workflows/trigger-implementation-on-plan-approved-local.yml index c7e46e39..d361442c 100644 --- a/.github/workflows/trigger-implementation-on-plan-approved-local.yml +++ b/.github/workflows/trigger-implementation-on-plan-approved-local.yml @@ -19,4 +19,4 @@ jobs: secrets: OZ_MGMT_GHA_APP_ID: ${{ secrets.OZ_MGMT_GHA_APP_ID }} OZ_MGMT_GHA_PRIVATE_KEY: ${{ secrets.OZ_MGMT_GHA_PRIVATE_KEY }} - WARP_API_KEY: ${{ secrets.OSS_WARP_API_KEY }} + OSS_WARP_API_KEY: ${{ secrets.OSS_WARP_API_KEY }} diff --git a/.github/workflows/update-dedupe-local.yml b/.github/workflows/update-dedupe-local.yml index 4be31920..05a799d7 100644 --- a/.github/workflows/update-dedupe-local.yml +++ b/.github/workflows/update-dedupe-local.yml @@ -20,4 +20,4 @@ jobs: secrets: OZ_MGMT_GHA_APP_ID: ${{ secrets.OZ_MGMT_GHA_APP_ID }} OZ_MGMT_GHA_PRIVATE_KEY: ${{ secrets.OZ_MGMT_GHA_PRIVATE_KEY }} - WARP_API_KEY: ${{ secrets.OSS_WARP_API_KEY }} + OSS_WARP_API_KEY: ${{ secrets.OSS_WARP_API_KEY }} diff --git a/.github/workflows/update-pr-review-local.yml b/.github/workflows/update-pr-review-local.yml index af36812a..b1da1ac8 100644 --- a/.github/workflows/update-pr-review-local.yml +++ b/.github/workflows/update-pr-review-local.yml @@ -20,4 +20,4 @@ jobs: secrets: OZ_MGMT_GHA_APP_ID: ${{ secrets.OZ_MGMT_GHA_APP_ID }} OZ_MGMT_GHA_PRIVATE_KEY: ${{ secrets.OZ_MGMT_GHA_PRIVATE_KEY }} - WARP_API_KEY: ${{ secrets.OSS_WARP_API_KEY }} + OSS_WARP_API_KEY: ${{ secrets.OSS_WARP_API_KEY }} diff --git a/.github/workflows/update-triage-local.yml b/.github/workflows/update-triage-local.yml index 7b233d30..073480a9 100644 --- a/.github/workflows/update-triage-local.yml +++ b/.github/workflows/update-triage-local.yml @@ -20,4 +20,4 @@ jobs: secrets: OZ_MGMT_GHA_APP_ID: ${{ secrets.OZ_MGMT_GHA_APP_ID }} OZ_MGMT_GHA_PRIVATE_KEY: ${{ secrets.OZ_MGMT_GHA_PRIVATE_KEY }} - WARP_API_KEY: ${{ secrets.OSS_WARP_API_KEY }} + OSS_WARP_API_KEY: ${{ secrets.OSS_WARP_API_KEY }} diff --git a/.github/workflows/verify-pr-comment-local.yml b/.github/workflows/verify-pr-comment-local.yml index 2f2daa7f..9c4ff12b 100644 --- a/.github/workflows/verify-pr-comment-local.yml +++ b/.github/workflows/verify-pr-comment-local.yml @@ -15,4 +15,4 @@ jobs: secrets: OZ_MGMT_GHA_APP_ID: ${{ secrets.OZ_MGMT_GHA_APP_ID }} OZ_MGMT_GHA_PRIVATE_KEY: ${{ secrets.OZ_MGMT_GHA_PRIVATE_KEY }} - WARP_API_KEY: ${{ secrets.OSS_WARP_API_KEY }} + OSS_WARP_API_KEY: ${{ secrets.OSS_WARP_API_KEY }}