From dc048fa469400e51fcede8b6755d28c723dc28a6 Mon Sep 17 00:00:00 2001 From: limjoobin Date: Thu, 25 Jun 2026 17:57:14 +0800 Subject: [PATCH] chore: updated release workflow to use PyPI Trusted Publishing --- .github/workflows/auto-release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 86e17c123..439d4c7d0 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -251,6 +251,9 @@ jobs: runs-on: ubuntu-latest needs: [gate, release] if: needs.gate.outputs.should_release == 'true' + permissions: + contents: read + id-token: write steps: - name: Check out repository @@ -281,6 +284,4 @@ jobs: run: uv build - name: Publish to PyPI - env: - UV_PUBLISH_TOKEN: ${{ secrets.PYPI }} - run: uv publish + uses: pypa/gh-action-pypi-publish@release/v1