From 718ad26757a4863c2d49e7def8e5893624c6f2f8 Mon Sep 17 00:00:00 2001 From: Anuraag Agrawal Date: Tue, 7 Jul 2026 16:48:33 +0900 Subject: [PATCH] Add permission for ID token for PyPI release and fix dir --- .github/workflows/pypi-license-header.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pypi-license-header.yaml b/.github/workflows/pypi-license-header.yaml index 36cde40..d32a0e4 100644 --- a/.github/workflows/pypi-license-header.yaml +++ b/.github/workflows/pypi-license-header.yaml @@ -15,6 +15,7 @@ on: permissions: contents: read + id-token: write defaults: run: @@ -85,4 +86,5 @@ jobs: if: github.event_name != 'pull_request' uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0 with: + packages-dir: pypi-packages/license-header/dist skip-existing: true