From 260318227ffdf2102fdcd30d7df0286010b14081 Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Tue, 2 Apr 2024 12:01:19 -0600 Subject: [PATCH] feat: remove tokens from release workflow --- .github/workflows/release.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0f21403..d355cfe 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,6 +12,7 @@ concurrency: jobs: release: runs-on: ubuntu-latest + environment: PyPI steps: - name: Checkout uses: actions/checkout@v4 @@ -26,11 +27,8 @@ jobs: - name: Publish to TestPyPI uses: pypa/gh-action-pypi-publish@release/v1 with: - password: ${{ secrets.TEST_PYPI_API_TOKEN }} repository-url: https://test.pypi.org/legacy/ skip-existing: true - name: Publish to PyPI if: startsWith(github.ref, 'refs/tags/v') uses: pypa/gh-action-pypi-publish@release/v1 - with: - password: ${{ secrets.PYPI_API_TOKEN }}