chore(ci): migrate Claude workflows to onesdata claude-code-action wrapper - #19
Open
mbernabeu wants to merge 2 commits into
Open
chore(ci): migrate Claude workflows to onesdata claude-code-action wrapper#19mbernabeu wants to merge 2 commits into
mbernabeu wants to merge 2 commits into
Conversation
Replace direct references to `anthropics/claude-code-action@v1` with the org wrapper `onesdata/ops_workflows/.github/actions/claude-code-action@master` and pass `otel_token` so every Claude Code run in CI emits OTLP telemetry to the portal-apps claude_analytics dashboard. Files: util-claude-task.yml, util-claude.yml Lands separately from any content PR so the first run can clear the Claude App workflow-validation check. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Both util-claude workflows authenticated via `anthropic_api_key`, which meant they were the only outliers in the org and missed the auto-injected `otel_token` (the migration script anchored on `claude_code_oauth_token`). Switch to the same OAuth token the rest of the org uses so: - Telemetry attribution is consistent (user.email = marketing@onestic.com) - The wrapper's telemetry step actually fires - No special-case auth path in this repo Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Cambia las referencias directas a
anthropics/claude-code-action@v1por el wrapper de la orgonesdata/ops_workflows/.github/actions/claude-code-action@mastery añadeotel_tokenpara que las ejecuciones emitan telemetría OTLP aportal.ops.onestic.com.Archivos modificados:
.github/workflows/util-claude-task.yml.github/workflows/util-claude.ymlPor qué va separado del contenido: el Claude App rechaza autenticarse cuando el workflow del PR difiere del de la rama por defecto (medida de seguridad). Una vez este PR esté en
master, los PRs futuros pasan la validación sin tocar nada. Patrón validado end-to-end enonesdata/atmos-mcp#11.🤖 Generated with Claude Code