Perform releases only within the 'release' environment
this is recommended by pypi for trusted publishers
This commit is contained in:
parent
377608f78d
commit
9d8ff015c6
1 changed files with 1 additions and 0 deletions
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
|
|
@ -12,6 +12,7 @@ jobs:
|
|||
release:
|
||||
|
||||
runs-on: ubuntu-22.04
|
||||
environment: release
|
||||
permissions:
|
||||
# IMPORTANT: this permission is mandatory for trusted publishing
|
||||
id-token: write
|
||||
|
|
|
|||
Loading…
Reference in a new issue