diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9928e2f4e..40f661193 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,6 +81,11 @@ jobs: build: runs-on: arc-runner needs: test + + permissions: + id-token: write + contents: read + if: startsWith(github.ref, 'refs/tags') steps: @@ -94,8 +99,6 @@ jobs: - name: Publish distribution to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - with: - password: ${{ secrets.pypi_password }} - name: Upload coverage to Codecov uses: codecov/codecov-action@v5