From 95e26a7abbc8460ddc624f710e25783baad9f674 Mon Sep 17 00:00:00 2001 From: Youngbin Han Date: Sun, 20 Oct 2024 06:20:32 +0000 Subject: [PATCH] Use pypa/gh-action-pypi-publish@release/v1 for PyPI publishing --- .github/workflows/cd.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 52a28dd..74599a6 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -13,6 +13,10 @@ jobs: defaults: run: shell: bash + + permissions: + # IMPORTANT: this permission is mandatory for trusted publishing + id-token: write steps: - name: Checkout uses: actions/checkout@v4