Skip to content

Commit b47a80b

Browse files
authored
Add environment and permissions to publish job
1 parent ea6736e commit b47a80b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build_and_publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ jobs:
6868
publish-to-pypi:
6969
needs: [build-sdist, build-wheels]
7070
runs-on: ubuntu-latest
71+
environment:
72+
name: pypi
73+
url: https://pypi.org/p/psm-utils
74+
permissions:
75+
id-token: write
7176
steps:
7277
- uses: actions/download-artifact@v2
7378
with:

0 commit comments

Comments
 (0)