Skip to content

Commit 6ece839

Browse files
committed
Use trusted publisher for release
- see https://docs.pypi.org/trusted-publishers/
1 parent 60a122f commit 6ece839

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/release-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ jobs:
4949

5050

5151
runs-on: 'ubuntu-latest'
52+
environment: release
53+
permissions:
54+
id-token: write
5255
name: Deploy to PyPi with Python ${{ matrix.python-version }}
5356
needs: deploy-windows-exe
5457

@@ -68,6 +71,3 @@ jobs:
6871
6972
- name: Publish package to PyPI
7073
uses: pypa/gh-action-pypi-publish@release/v1
71-
with:
72-
user: __token__
73-
password: ${{ secrets.PYPI_TOKEN_VALIDATOR }}

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ The released versions correspond to PyPi releases.
1010
### Infrastructure
1111
* use the current DICOM standard (2024c) for testing
1212
* make the package compatible to `pydicom` 3.0
13+
* use trusted publisher for release (see https://docs.pypi.org/trusted-publishers/)
1314

1415
## [Version 0.6.2](https://pypi.python.org/pypi/dicom-validator/0.6.2) (2024-08-09)
1516
Fixes a regression in version 0.6.1.

0 commit comments

Comments
 (0)