diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 80980b58..f0c4b10f 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -14,6 +14,11 @@ jobs: test_pypi_publish: name: Upload package to Test PyPI runs-on: ubuntu-latest + + # Use Permissions to access the repository + permissions: + id-token: write + steps: - uses: actions/checkout@v4 @@ -27,7 +32,5 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: packages-dir: pragma-sdk/dist - attestations: false repository-url: https://test.pypi.org/legacy/ - password: ${{ secrets.PYPI_API_TOKEN }} skip-existing: true