From aad2b0b05116c0a1ed683262e6ce75cb1832c945 Mon Sep 17 00:00:00 2001 From: Wiktor Kwapisiewicz Date: Thu, 23 Nov 2023 14:51:06 +0100 Subject: [PATCH] Fix trusted publishing release Link: https://github.com/PyO3/maturin/issues/1575#issuecomment-1753785859 --- .github/workflows/maturin.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/maturin.yml b/.github/workflows/maturin.yml index 5e96642..af9a45a 100644 --- a/.github/workflows/maturin.yml +++ b/.github/workflows/maturin.yml @@ -93,6 +93,9 @@ jobs: release: name: Release runs-on: ubuntu-latest + environment: release + permissions: + id-token: write if: "startsWith(github.ref, 'refs/tags/')" needs: [linux, windows, macos, sdist] steps: