From e319f4f33c5c3307507ce93f40d019c4ff66e782 Mon Sep 17 00:00:00 2001 From: kklein Date: Thu, 13 Feb 2025 15:09:20 +0100 Subject: [PATCH] Add permissions. --- .github/workflows/build_and_publish.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build_and_publish.yaml b/.github/workflows/build_and_publish.yaml index 64f4658..126ce18 100644 --- a/.github/workflows/build_and_publish.yaml +++ b/.github/workflows/build_and_publish.yaml @@ -34,6 +34,10 @@ jobs: name: Upload to PyPI needs: [build_artifacts] runs-on: ubuntu-latest + permissions: + id-token: write + contents: write + environment: pypi if: github.event_name == 'release' && github.event.action == 'published' steps: - uses: actions/download-artifact@v4