Fix internal preview deployment environment#784
Conversation
|
Current blocker for this PR:
To unblock: a repo admin should create Alternative: move these provider secrets to repo/org-level Actions secrets and remove |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
Automation status update (2026-06-16): Progress: the Remaining blocker (needs repo-admin): Exact action needed — copy these 7 secrets into
Once populated, re-run |
|
Current-state update (2026-06-18, automation): This PR has two parts, and one is now obsolete while the other is blocked:
The PR is also now Decision needed (owner): either (a) admin populates the 7 secrets in |
|
Automation triage (2026-06-20): moving this to |
Summary
integration-eval-secretsenvironment so CI deployments stop pollutingpypi-internal-previewWhy
pypi-internal-previewwas showing as inactive because integration-eval also used that environment. GitHub Actions creates deployment records for every job environment, so PR/main integration runs mixed with real PyPI preview deployments and could mark them inactive. The release workflow was also skipping publication becausemainstill carried final version0.6.2; preview publication only resumes once main is on a plain.devversion.Validation
uv lock --checkuv run python -m pytest tests/test_release_version.py -quv run python tools/release_version.py internal-preview --run-number 123->publish=true,version=0.6.3.dev123uv run ruff check tools/release_version.py tests/test_release_version.pyuv run ty check tools/release_version.py tests/test_release_version.pyFollow-up
Repo admin should create
integration-eval-secretsand copy the integration provider secrets there if GitHub Models fallback is not sufficient. The current token cannot create environments (403 Must have admin rights).