Repository navigation
Conversation
setup-miniconda v4 warns on every run: `auto-activate-base` is deprecated. Please use `auto-activate`. Rename the input in ci.yml, cache.yml and publish.yml. The value stays true, and the installer's default environment is base, so the second half of the warning (add `activate-environment: base`) does not apply; each job still activates the quantecon environment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Wyb6EzbNzY5a8uuJPnDtUb
There was a problem hiding this comment.
🟢 Approval recommended
It is a minimal, consistent rename of a deprecated input to its documented replacement across all relevant active workflows, with environment activation preserved and no behavioral change.
0 open findings
What changed in this PR
Replaces the deprecated auto-activate-base input with its replacement auto-activate in the conda setup step of the active conda-incubator/setup-miniconda@v4 workflows, silencing the deprecation warning emitted on every job. The value remains true, and each job continues to activate the quantecon environment via activate-environment, so behavior is preserved. This is a CI maintenance change coordinated across the translation editions in separate PRs.
Changes:
- Rename
auto-activate-base: true→auto-activate: trueinci.yml,cache.yml, andpublish.yml. execution-*.ymlleft unchanged because they never set this input;_github_actions/ci.yml(on@v2, in an ignored subdirectory) is out of scope.
| File | Description |
|---|---|
.github/workflows/ci.yml |
Renames deprecated auto-activate-base input to auto-activate in the miniconda setup step |
.github/workflows/cache.yml |
Same deprecated-input rename in the cache workflow's miniconda setup |
.github/workflows/publish.yml |
Same deprecated-input rename in the publish workflow's miniconda setup |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
With
conda-incubator/setup-miniconda@v4, every job that sets up conda logs this warning:This renames the input in
ci.yml,cache.ymlandpublish.yml. The value staystrue. Theexecution-*.ymlworkflows don't set it, so they are unchanged.The second half of the warning doesn't apply. The Miniconda installer's default environment is
base, and each job still activates thequanteconenvironment throughactivate-environment.Workflows are not synced to the translation repos, so each edition gets the same change in its own PR:
previewbuild ran without the warning and set up the environment as before.🤖 Generated with Claude Code
https://claude.ai/code/session_01Wyb6EzbNzY5a8uuJPnDtUb
Generated by Claude Code