Skip to content

Commit 27482cb

Browse files
dannyneiraoz-agent
andcommitted
ci: use Docs Agent API key so per-agent secrets are available
Replace WARP_API_KEY with DOCS_AGENT_WARP_API_KEY in the release docs update workflow. Running under the Docs Agent's own API key makes its per-agent secrets (DOCS_AGENT_GRAFANA_TOKEN) available in the cloud run environment for on-call reviewer assignment. DOCS_AGENT_WARP_API_KEY must be added as a GitHub Actions secret in warpdotdev/docs — generate it from the Docs Agent page on prod Oz: oz.warp.dev/agents/019eb332-2ee0-7417-8ecc-89260cf5b850 Co-Authored-By: Oz <oz-agent@warp.dev>
1 parent b46a355 commit 27482cb

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

.github/workflows/release-docs-update.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -115,19 +115,15 @@ jobs:
115115
print("TRIGGER_CONTEXT_JSON", file=output)
116116
PY
117117
118-
# This workflow intentionally has no automatic push trigger yet.
119-
# Enable automatic execution only after:
120-
# 1. workflow_dispatch succeeds.
121-
# 2. the channel-versions dispatch sender is tested.
122-
# 3. required secrets, variables, and cross-repo permissions are configured.
123-
# WARP_AGENT_PROFILE should be set to the Docs Agent on prod Oz (oz.warp.dev).
124-
# That agent has DOCS_AGENT_GRAFANA_TOKEN configured for on-call reviewer assignment.
118+
# DOCS_AGENT_WARP_API_KEY is an API key scoped to the Docs Agent on prod Oz
119+
# (oz.warp.dev/agents/019eb332-2ee0-7417-8ecc-89260cf5b850). Running with
120+
# that agent's key makes its per-agent secrets (e.g. DOCS_AGENT_GRAFANA_TOKEN
121+
# for on-call reviewer assignment) available in the cloud run environment.
125122
- name: Run release docs update with Oz
126123
uses: warpdotdev/oz-agent-action@v1
127124
with:
128125
skill: warpdotdev/docs:release_updates
129-
warp_api_key: ${{ secrets.WARP_API_KEY }}
130-
profile: ${{ vars.WARP_AGENT_PROFILE || '' }}
126+
warp_api_key: ${{ secrets.DOCS_AGENT_WARP_API_KEY }}
131127
prompt: |
132128
Run the release docs update workflow from the `release_updates` skill.
133129

0 commit comments

Comments
 (0)