Skip to content

Commit 3e2438a

Browse files
authored
workflows/release: switch to trusted publishing (#21)
Signed-off-by: William Woodruff <[email protected]>
1 parent 6cf8729 commit 3e2438a

File tree

1 file changed

+1
-3
lines changed
  • {{cookiecutter.project_slug}}/.github/workflows

1 file changed

+1
-3
lines changed

{{cookiecutter.project_slug}}/.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ name: release
77

88
permissions:
99
# Used to sign the release's artifacts with sigstore-python.
10+
# Used to publish to PyPI with Trusted Publishing.
1011
id-token: write
1112

1213
# Used to attach signing artifacts to the published release.
@@ -33,9 +34,6 @@ jobs:
3334

3435
- name: publish
3536
uses: pypa/gh-action-pypi-publish@release/v1
36-
with:
37-
user: __token__
38-
password: ${{ secrets.PYPI_TOKEN }}
3937

4038
- name: sign
4139
uses: sigstore/[email protected]

0 commit comments

Comments
 (0)