We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9415647 + 53c2806 commit 209f872Copy full SHA for 209f872
1 file changed
.github/workflows/cd.yml
@@ -92,6 +92,7 @@ jobs:
92
environment: release
93
permissions:
94
contents: write # to modify GitHub releases
95
+ id-token: write # to authenticate as Trusted Publisher to pypi.org
96
steps:
97
- name: Fetch build artifacts
98
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
@@ -103,9 +104,6 @@ jobs:
103
104
# Only attempt pypi upload in upstream repository
105
if: github.repository == 'theupdateframework/python-tuf'
106
uses: pypa/gh-action-pypi-publish@0bf742be3ebe032c25dd15117957dc15d0cfc38d
- with:
107
- user: __token__
108
- password: ${{ secrets.PYPI_API_TOKEN }}
109
110
- name: Finalize GitHub release
111
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410
0 commit comments