Skip to content

Commit 5ffdf97

Browse files
committed
Use trusted publisher for release
- see https://docs.pypi.org/trusted-publishers/
1 parent 058b007 commit 5ffdf97

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/release-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ jobs:
88

99
deploy:
1010
runs-on: ubuntu-latest
11+
environment: release
12+
permissions:
13+
id-token: write
1114
strategy:
1215
fail-fast: true
1316
matrix:
@@ -29,6 +32,3 @@ jobs:
2932
3033
- name: Publish package to PyPI
3134
uses: pypa/gh-action-pypi-publish@release/v1
32-
with:
33-
user: __token__
34-
password: ${{ secrets.PYPI_TOKEN }}

CHANGES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ The released versions correspond to PyPI releases.
1212
* the default for `FakeFilesystem.shuffle_listdir_results` will change to `True` to reflect
1313
the real filesystem behavior
1414

15+
## Unreleased
16+
17+
### Infrastructure
18+
* use trusted publisher for release (see https://docs.pypi.org/trusted-publishers/)
19+
1520
## [Version 5.7.1](https://pypi.python.org/pypi/pyfakefs/5.7.1) (2024-08-13)
1621
Fixes a regression in version 5.7.0 that broke patching fcntl.
1722

0 commit comments

Comments
 (0)