Skip to content

Commit 6f73956

Browse files
Merge pull request #149 from madrob/main
Use Trusted Publisher for releasing
2 parents 250fd58 + df44438 commit 6f73956

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci-release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ jobs:
88
if: "!github.event.release.prerelease"
99
name: Python Release Builder
1010
runs-on: ubuntu-latest
11+
environment: pypi
12+
permissions:
13+
id-token: write
1114
steps:
1215
- uses: actions/checkout@v4
1316
- name: Set up Python
@@ -26,5 +29,3 @@ jobs:
2629
build
2730
- name: Publish to PyPI
2831
uses: pypa/gh-action-pypi-publish@release/v1
29-
with:
30-
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)