From e2982aeef8e4099b57b1055fb0ede0164a20ddb3 Mon Sep 17 00:00:00 2001 From: Kyle Benesch <4b796c65+github@gmail.com> Date: Thu, 29 Aug 2024 11:48:17 -0700 Subject: [PATCH] Add missing id-token permission, needed for trusted publishing Was forgotten by #221 and #220 --- .github/workflows/python-package.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 34c9f3b5..f3515bc0 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -185,6 +185,8 @@ jobs: needs: isolated_tests if: github.ref_type == 'tag' runs-on: ubuntu-latest + permissions: + id-token: write environment: name: pypi url: https://pypi.org/project/delocate/${{ github.ref_name }}/