Skip to content

Commit 66258f5

Browse files
authored
ci: switch to trusted publishing (#320)
1 parent 0390079 commit 66258f5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ env:
1111
jobs:
1212
release:
1313
runs-on: ubuntu-latest
14+
environment: pypi
15+
permissions:
16+
id-token: write
1417
steps:
1518
- name: Check out the repository
1619
uses: actions/checkout@v4
@@ -35,7 +38,5 @@ jobs:
3538
if: github.event_name == 'release'
3639
uses: pypa/gh-action-pypi-publish@release/v1
3740
with:
38-
user: __token__
39-
password: ${{ secrets.UPATH_GIT_REPO }}
4041
verbose: true
4142
skip_existing: true

0 commit comments

Comments
 (0)