Skip to content

Document TestPyPI trusted publisher configuration requirement#5

Closed
Copilot wants to merge 1 commit intomainfrom
copilot/fix-deployment-issues
Closed

Document TestPyPI trusted publisher configuration requirement#5
Copilot wants to merge 1 commit intomainfrom
copilot/fix-deployment-issues

Conversation

Copy link

Copilot AI commented Mar 5, 2026

The publish-testpypi workflow fails with invalid-publisher because Trusted Publishing is not configured on TestPyPI.

Analysis

No code changes required. The workflow configuration is correct:

  • environment: testpypi
  • permissions: id-token: write
  • pypa/gh-action-pypi-publish@release/v1

Required Action

Configure a trusted publisher at https://test.pypi.org/manage/account/publishing/:

Field Value
PyPI Project Name lansweeper-helpdesk
Owner ds-brandao
Repository name Lansweeper.Helpdesk-Python
Workflow name publish-testpypi.yml
Environment name testpypi

For production PyPI (publish.yml), configure similarly at https://pypi.org/manage/account/publishing/ with environment name pypi.

Original prompt

Reference: https://github.com/ds-brandao/Lansweeper.Helpdesk-Python/actions/runs/22708405027/job/65840336763#step:3:1

Fix this. I want to be able to deploy


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Fix issues preventing deployment Document TestPyPI trusted publisher configuration requirement Mar 5, 2026
@ds-brandao ds-brandao closed this Mar 5, 2026
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.

2 participants