From c5ba2d87f1153c61ae8e64e82d1d587f55093f30 Mon Sep 17 00:00:00 2001 From: Ronny Pfannschmidt Date: Sat, 20 Apr 2024 22:48:14 +0200 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d8c0b18..c336ff3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -120,7 +120,8 @@ jobs: deploy: if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') && github.repository == 'pytest-dev/pluggy' runs-on: ubuntu-latest - + permissions: + id-token: write steps: - uses: actions/checkout@v3 with: @@ -140,6 +141,3 @@ jobs: - name: Publish package uses: pypa/gh-action-pypi-publish@v1.8.6 - with: - user: __token__ - password: ${{ secrets.pypi_token }}