Skip to content

update publish authentification#209

Merged
espenhgn merged 2 commits intomasterfrom
espenhgn/issue208
Apr 10, 2026
Merged

update publish authentification#209
espenhgn merged 2 commits intomasterfrom
espenhgn/issue208

Conversation

@espenhgn
Copy link
Copy Markdown
Contributor

Closes #208

@espenhgn espenhgn added the bug fix fixes some issue label Apr 10, 2026
@espenhgn espenhgn requested a review from Copilot April 10, 2026 13:36
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the project’s PyPI/TestPyPI publishing GitHub Actions to authenticate using API tokens (repository secrets) instead of deprecated username/password auth, addressing the deployment failures described in issue #208.

Changes:

  • Switch TestPyPI uploads to token-based auth using TWINE_USERNAME=__token__ and secrets.GH_TESTPYPI_LFPYKIT_TOKEN.
  • Switch PyPI uploads to token-based auth using TWINE_USERNAME=__token__ and secrets.GH_PYPI_LFPYKIT_TOKEN.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/python-publish.yml Updates Twine environment variables to use token-based auth for TestPyPI and PyPI publishing.
.github/workflows/create-release.yml Applies the same token-based Twine auth updates to the release-driven publish workflow.

@espenhgn espenhgn merged commit b729bc6 into master Apr 10, 2026
10 checks passed
@espenhgn espenhgn deleted the espenhgn/issue208 branch April 10, 2026 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix fixes some issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Revise GH deploy actions to use GitHub secret

2 participants