ci: pass OSS_WARP_API_KEY to oz-for-oss reusable workflows (#9220)
## 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 <oz-agent@warp.dev>
This commit is contained in:
co-authored by
Oz Agent
parent
0dbd3d567a
commit
e20fa7a86e
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user