From 9d8cd22ae6a69243bebc5013880b0cf427c87715 Mon Sep 17 00:00:00 2001 From: Miha Kralj Date: Tue, 3 Mar 2026 13:15:17 -0800 Subject: [PATCH] fix: add environment 'pypi' to Publish_Package job for trusted publishing PyPI trusted publisher OIDC token exchange failed because the workflow job did not declare a GitHub environment. PyPI's trusted publisher config requires environment claim to match. Added environment: pypi to the Publish_Package job in Release.yml. --- .github/workflows/Release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 779857bb..b7428dbe 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -173,6 +173,7 @@ jobs: Publish_Package: needs: [Build_Python_Wheels] runs-on: ubuntu-latest + environment: pypi timeout-minutes: 15 permissions: contents: write