Skip to content

ci: use Docs Agent API key so per-agent secrets are available#210

Closed
dannyneira wants to merge 0 commit into
mainfrom
danny/docs-agent-api-key
Closed

ci: use Docs Agent API key so per-agent secrets are available#210
dannyneira wants to merge 0 commit into
mainfrom
danny/docs-agent-api-key

Conversation

@dannyneira

Copy link
Copy Markdown
Member

Summary

Replaces 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 (including DOCS_AGENT_GRAFANA_TOKEN) available in the cloud run environment — without needing to add the Grafana token to the shared Oz team secrets.

Setup required

Generate an API key for the Docs Agent on prod Oz:
oz.warp.dev/agents/019eb332-2ee0-7417-8ecc-89260cf5b850 → Settings → API Keys → Create

Add it as a GitHub Actions secret in warpdotdev/docs:
SettingsSecrets and variablesActionsNew repository secretDOCS_AGENT_WARP_API_KEY

Why this works

The oz-agent-action profile input only selects a behavioral profile (model, instructions) — it does not inject per-agent secrets. The API key determines which agent identity runs and therefore which per-agent secrets are available. Using the Docs Agent's own key scopes the entire run to that agent.

Related

Co-Authored-By: Oz oz-agent@warp.dev

@cla-bot cla-bot Bot added the cla-signed label Jun 12, 2026
@vercel

vercel Bot commented Jun 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Jun 12, 2026 4:21pm

Request Review

@oz-for-oss

oz-for-oss Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

@dannyneira

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@oz-for-oss oz-for-oss Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR updates the release docs update workflow to authenticate warpdotdev/oz-agent-action with the Docs Agent-scoped API key so that the agent's per-agent secrets are available during the cloud run, and removes the now-unneeded profile input.

Concerns

  • No blocking correctness or security concerns found in the annotated diff.
  • No approved or repository spec context was provided, so implementation-vs-spec drift was not applicable.

Verdict

Found: 0 critical, 0 important, 0 suggestions

Approve

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant