Perform releases only within the 'release' environment

this is recommended by pypi for trusted publishers
This commit is contained in:
Jeff Epler 2024-05-23 07:27:43 -04:00
parent 377608f78d
commit 9d8ff015c6

View file

@ -12,6 +12,7 @@ jobs:
release: release:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
environment: release
permissions: permissions:
# IMPORTANT: this permission is mandatory for trusted publishing # IMPORTANT: this permission is mandatory for trusted publishing
id-token: write id-token: write