From 806e6e30381911469568f20899638cefc9b61e93 Mon Sep 17 00:00:00 2001 From: Ianna Osborne Date: Mon, 17 Feb 2025 17:32:03 +0100 Subject: [PATCH] fix: restrict to the environment set for the trusted publisher (#1381) Restrict to the environment set for the trusted publisher --- .github/workflows/deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 21dd36b1c..2678a9aa1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,6 +18,8 @@ jobs: uses: ./.github/workflows/build-distributions.yml publish: + environment: + name: pypi needs: [build_dist] runs-on: ubuntu-latest if: github.event_name == 'release' && github.event.action == 'published'