Skip to content

ci: require pypi environment for releases#131

Merged
cuericlee merged 1 commit into
mainfrom
feat/pypi-environment-release
Jul 13, 2026
Merged

ci: require pypi environment for releases#131
cuericlee merged 1 commit into
mainfrom
feat/pypi-environment-release

Conversation

@innsd

@innsd innsd commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • bind the PyPI release job to the pypi GitHub Actions environment
  • document that PYPI_API_TOKEN should be configured as an environment secret
  • recommend environment reviewers and v* tag restrictions for release hardening

Validation

  • parsed .github/workflows/release-pypi.yml with PyYAML
  • pre-commit hooks passed during commit

Follow-up configuration

Before the next release, create a GitHub Actions environment named pypi, move PYPI_API_TOKEN into that environment as an environment secret, and optionally configure required reviewers.

@innsd innsd force-pushed the feat/pypi-environment-release branch from 1c0f9c6 to bee0b62 Compare July 13, 2026 03:26

@cuericlee cuericlee left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@cuericlee cuericlee merged commit 5fa57c1 into main Jul 13, 2026
4 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.

3 participants