diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ed1af5d..66e176d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,6 +11,9 @@ env: jobs: release: runs-on: ubuntu-latest + environment: pypi + permissions: + id-token: write steps: - name: Check out the repository uses: actions/checkout@v4 @@ -35,7 +38,5 @@ jobs: if: github.event_name == 'release' uses: pypa/gh-action-pypi-publish@release/v1 with: - user: __token__ - password: ${{ secrets.UPATH_GIT_REPO }} verbose: true skip_existing: true