Skip to content

chore: publish WebAppDIRAC to PyPI via trusted publisher - #819

Open
fstagni wants to merge 1 commit into
DIRACGrid:rel-v5r0from
fstagni:pypi-trusted-publisher-rel-v5r0
Open

fstagni wants to merge 1 commit into
DIRACGrid:rel-v5r0from
fstagni:pypi-trusted-publisher-rel-v5r0

Conversation

@fstagni

@fstagni fstagni commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Same as #818 (integration), part of DIRACGrid/.github#5 (PyPI releases / trusted publisher instead of PYPI_TOKEN).

deploy-pypi is split in two: the deployment keeps the release mechanics (release notes, tag, GitHub release) and needs no PyPI credential (PYPI_API_TOKEN is dropped entirely, contents: write granted explicitly); the new publish job uploads the distribution built by deploy-pypi (passed through an artifact) and publishes it with trusted publishing (environment: pypi, id-token: write), same as already done in diracx, intercede and signurlarity. pypa/gh-action-pypi-publish is pinned to the same commit SHA used in the other DIRACGrid repos (it was on the mutable release/v1 branch).

Required follow-ups before the next release (manual):

  • create the pypi environment on this repository (no reviewers needed)
  • register the trusted publisher on PyPI for the WebAppDIRAC project: workflow deployment.yml, environment pypi, owner DIRACGrid
  • verify with a release

@fstagni
fstagni force-pushed the pypi-trusted-publisher-rel-v5r0 branch from e577975 to 66392ca Compare November 13, 2026 16:02
@fstagni
fstagni marked this pull request as ready for review November 14, 2026 20:28
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.

1 participant