Skip to content

Support source token env for artifact selectors#46

Merged
shiny-code-bot merged 1 commit into
mainfrom
fix/publish-source-token-env
May 28, 2026
Merged

Support source token env for artifact selectors#46
shiny-code-bot merged 1 commit into
mainfrom
fix/publish-source-token-env

Conversation

@shiny-code-bot
Copy link
Copy Markdown
Collaborator

Summary

  • let artifact selector resolution use dedicated source-token environment variables before generic GitHub tokens
  • cover both ODOO_DEVKIT_SOURCE_GITHUB_TOKEN and CI-facing ODOO_SOURCE_GITHUB_TOKEN fallbacks
  • document the publish-time credential split

Tests

  • uv run python -m unittest tests.test_runtime.RuntimeCommandTests.test_resolve_artifact_runtime_source_refs_uses_environment_token_fallback tests.test_runtime.RuntimeCommandTests.test_resolve_artifact_runtime_source_refs_uses_dedicated_source_token_env tests.test_runtime.RuntimeCommandTests.test_resolve_artifact_runtime_source_refs_supports_ci_source_token_env tests.test_runtime.RuntimeCommandTests.test_resolve_artifact_runtime_source_refs_prefers_runtime_github_token
  • uv run ruff format --check odoo_devkit/local_runtime.py tests/test_runtime.py
  • uv run ruff check odoo_devkit/local_runtime.py tests/test_runtime.py

@shiny-code-bot shiny-code-bot merged commit d02102e into main May 28, 2026
4 checks passed
@shiny-code-bot shiny-code-bot deleted the fix/publish-source-token-env branch May 28, 2026 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants