From 91a3c04b82b5f6e9dd75d1431cfdc397cedd4afd Mon Sep 17 00:00:00 2001 From: Ivo Vellekoop Date: Fri, 4 Oct 2024 12:53:01 +0200 Subject: [PATCH] Update testpypi.yml --- .github/workflows/testpypi.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testpypi.yml b/.github/workflows/testpypi.yml index 341d478..cacf109 100644 --- a/.github/workflows/testpypi.yml +++ b/.github/workflows/testpypi.yml @@ -1,14 +1,20 @@ name: Publish to TestPyPI using Poetry +# trigger upload on a new push to master on: push: branches: - - master # You can change this to the branch you want to trigger the workflow - + - master + jobs: build: runs-on: ubuntu-latest + # enable openid authentication for PyPi + permissions: + id-token: write # Required for OIDC + contents: read + steps: # Checkout the repository - name: Check out the repository