From 3ad4a90ecae2c4f29e9d824eab46add4ee920bcc Mon Sep 17 00:00:00 2001 From: SeiyaKobayashi Date: Sat, 24 May 2025 21:34:49 +0900 Subject: [PATCH] Add missing permission for publishing --- .github/workflows/publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5534175..b450d4f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -77,11 +77,13 @@ jobs: run: working-directory: ./packages/core timeout-minutes: 5 + permissions: + id-token: write steps: - uses: actions/checkout@v4 - uses: ./.github/actions/install-packages - name: Build package run: uv build --no-cache - name: Publish package to PyPI - # NOTE: specify directory bc `dist` directory is generated at the root-level + # NOTE: need to specify directory bc `dist` directory is generated at the root-level run: uv publish --no-cache --directory ../../