Skip to content

Use environment token for artifact selector resolution#44

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

Use environment token for artifact selector resolution#44
shiny-code-bot merged 1 commit into
mainfrom
fix/publish-selector-env-token

Conversation

@shiny-code-bot
Copy link
Copy Markdown
Collaborator

Summary

  • Let artifact selector resolution use the same environment token fallback as artifact build auth.
  • Fix preview publish when selector refs point at private GitHub repositories and the token is supplied by the workflow environment.
  • Add regression coverage for env-token fallback during selector resolution.

Verification

  • uv run python -m unittest tests.test_runtime.RuntimeCommandTests.test_resolve_artifact_runtime_source_refs_uses_environment_token_fallback tests.test_runtime.RuntimeCommandTests.test_native_runtime_publish_resolves_addon_selectors_from_artifact_inputs_manifest
  • uv run ruff check --diff 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 680e300 into main May 28, 2026
4 checks passed
@shiny-code-bot shiny-code-bot deleted the fix/publish-selector-env-token branch May 28, 2026 22:44
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