ci: use oz run-cloud with release-docs environment for Grafana token access#217
Open
dannyneira wants to merge 1 commit into
Open
ci: use oz run-cloud with release-docs environment for Grafana token access#217dannyneira wants to merge 1 commit into
dannyneira wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
b1a9350 to
61ef708
Compare
61ef708 to
3136167
Compare
3136167 to
485c170
Compare
3c8b87a to
0fe71b1
Compare
0fe71b1 to
d260daa
Compare
d260daa to
5cac05b
Compare
5cac05b to
f79c11f
Compare
…access Replace oz-agent-action (local run) with oz agent run-cloud using environment K5KStCm5aYvhfBJb8cHol6, which has DOCS_AGENT_GRAFANA_TOKEN configured. This is the least-privilege approach: the token lives only in the dedicated Oz environment, not in team secrets or GitHub secrets. - Installs oz stable CLI from releases.warp.dev - Builds the prompt with correct flags pre-computed (pr-draft vs pr-auto-merge, oncall flags) so the agent executes the right command directly - Runs oz agent run-cloud with the environment and release_updates skill Co-Authored-By: Oz <oz-agent@warp.dev>
f79c11f to
9f2217c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaces
oz-agent-action(local agent run) with a directoz agent run-cloudcall using environmentK5KStCm5aYvhfBJb8cHol6, which hasDOCS_AGENT_GRAFANA_TOKENconfigured. This is the least-privilege approach — the token lives only in the dedicated Oz environment, not in team secrets or GitHub secrets.Changes
oz-agent-action@v1(which only supports local runs with no environment support)releases.warp.devoz agent run-cloud --environment K5KStCm5aYvhfBJb8cHol6 --skill warpdotdev/docs:release_updatesWhy run-cloud vs local
oz agent run-cloudsupports--environmentwhich injects environment-scoped secrets (includingDOCS_AGENT_GRAFANA_TOKEN). Theoz agent run(local) used byoz-agent-actiondoes not support environments.Co-Authored-By: Oz oz-agent@warp.dev