Skip to content

Commit 30a1ab6

Browse files
authored
17460: Adjust release workflow for trusted publishing (#6)
1 parent 7c45e14 commit 30a1ab6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ jobs:
2424
runs-on: ubuntu-latest
2525
environment:
2626
name: pypi
27-
url: https://pypi.org/p/howso-engine
27+
permissions:
28+
contents: write
29+
id-token: write
2830

2931
steps:
3032

@@ -60,6 +62,4 @@ jobs:
6062
python-version: "3.11"
6163

6264
- name: Publish distribution to PyPI
63-
uses: pypa/gh-action-pypi-publish@release/v1
64-
with:
65-
password: ${{ secrets.TEMP_OFFICIAL_PYPI_API_TOKEN }}
65+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)