Skip to content

[codex] Clarify manual PyPI publish target selection#1830

Merged
FlorianPfaff merged 1 commit intomainfrom
codex/manual-publish-target-selection
Apr 24, 2026
Merged

[codex] Clarify manual PyPI publish target selection#1830
FlorianPfaff merged 1 commit intomainfrom
codex/manual-publish-target-selection

Conversation

@FlorianPfaff
Copy link
Copy Markdown
Owner

Summary

  • Shows the selected publish target in the GitHub Actions run name.
  • Keeps manual workflow_dispatch publishing selectable between testpypi and pypi, with testpypi as the default.
  • Validates the resolved target before emitting the target index and GitHub environment outputs.

Behavior

Manual runs use the selected target_index. Automatic workflow_run releases continue to publish to real PyPI.

Validation

  • Reviewed the generated commit diff for .github/workflows/publish-to-pypi.yml.
  • Did not run the workflow locally; this change is GitHub Actions configuration only.

@github-actions
Copy link
Copy Markdown
Contributor

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ COPYPASTE jscpd yes no no 13.35s
✅ JSON prettier 2 0 0 0 0.42s
✅ JSON v8r 2 0 0 2.67s
✅ MARKDOWN markdownlint 2 0 0 0 0.7s
✅ MARKDOWN markdown-table-formatter 2 0 0 0 0.27s
✅ PYTHON bandit 366 0 0 5.51s
✅ PYTHON black 366 12 0 0 8.62s
✅ PYTHON flake8 366 0 0 3.04s
✅ PYTHON isort 366 13 0 0 0.71s
✅ PYTHON mypy 366 0 0 4.99s
✅ PYTHON pylint 366 0 0 108.0s
✅ PYTHON ruff 366 13 0 0 0.07s
✅ REPOSITORY checkov yes no no 22.88s
✅ REPOSITORY gitleaks yes no no 6.73s
✅ REPOSITORY git_diff yes no no 0.05s
✅ REPOSITORY secretlint yes no no 6.82s
✅ REPOSITORY syft yes no no 6.2s
✅ REPOSITORY trivy-sbom yes no no 2.42s
✅ REPOSITORY trufflehog yes no no 19.22s
✅ YAML prettier 4 0 0 0 0.5s
✅ YAML v8r 4 0 0 4.72s
✅ YAML yamllint 4 0 0 0.37s

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@9.4.0 --custom-flavor-setup --custom-flavor-linters PYTHON_PYLINT,PYTHON_BLACK,PYTHON_FLAKE8,PYTHON_ISORT,PYTHON_BANDIT,PYTHON_MYPY,PYTHON_RUFF,COPYPASTE_JSCPD,JSON_V8R,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_GITLEAKS,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@FlorianPfaff FlorianPfaff marked this pull request as ready for review April 24, 2026 08:20
@FlorianPfaff FlorianPfaff merged commit b11a079 into main Apr 24, 2026
17 checks passed
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.

1 participant