Skip to content

Commit e98af62

Browse files
lesnik512claude
andcommitted
ci: drop PYPI_TOKEN guard from publish recipe
OIDC publishing sets no PYPI_TOKEN, so the guard would abort the run. The GITHUB_REF_NAME check still refuses to run outside CI. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent a39ddaf commit e98af62

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Justfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ test-branch:
3434
# Auth via PyPI Trusted Publishing (OIDC); uv publish auto-detects the CI id-token.
3535
publish:
3636
@test -n "${GITHUB_REF_NAME:-}" || (echo "GITHUB_REF_NAME is required; refusing to run outside CI" >&2; exit 1)
37-
@test -n "${PYPI_TOKEN:-}" || (echo "PYPI_TOKEN is required; refusing to run outside CI" >&2; exit 1)
3837
rm -rf dist
3938
uv version $GITHUB_REF_NAME
4039
uv build

0 commit comments

Comments
 (0)