From fcff95aeaf409eb9aff540f5e3edb99030db3b0e Mon Sep 17 00:00:00 2001 From: "Mark A. Tsuchida" Date: Fri, 20 Oct 2023 11:43:05 -0500 Subject: [PATCH] Set GitHub environment for release to PyPI --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a7390d7..e46a4c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,6 +77,7 @@ jobs: runs-on: ubuntu-latest # upload to PyPI on every tag if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') + environment: release # https://docs.pypi.org/trusted-publishers/ permissions: