Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ permissions:
jobs:
publish:
runs-on: ubuntu-latest
environment: pypi
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
Expand Down
7 changes: 5 additions & 2 deletions docs/publishing.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ No long-lived PyPI API token is stored in the repository.
- Owner: `askmy-stack`
- Repository: `tool-semantics`
- Workflow: `publish.yml`
- Environment: `pypi`
3. In GitHub, create an Environment named `pypi` (optional protection rules).
- Environment: leave blank

The workflow intentionally has no GitHub Environment. If an environment is added
later, add the same environment name to PyPI's trusted-publisher configuration
first; otherwise PyPI will reject the environment-scoped OIDC identity.

## Release steps

Expand Down