Skip to content

Commit

Permalink
fix: restrict to the environment set for the trusted publisher (#1381)
Browse files Browse the repository at this point in the history
Restrict to the environment set for the trusted publisher
  • Loading branch information
ianna authored Feb 17, 2025
1 parent 1254938 commit 806e6e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 806e6e3

Please sign in to comment.