Skip to content

Commit 5a085bf

Browse files
authored
Merge pull request #150 from trail-of-forks/tob-doc-tweaks
2 parents f47b347 + 0811f99 commit 5a085bf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ tag, or a full Git commit SHA.
3131
> this is what they're referring to.
3232
3333
This example jumps right into the current best practice. If you want to
34-
go for less secure scoped PyPI API tokens, check out [how to specify
35-
username and password].
34+
use API tokens directly or a less secure username and password, check out
35+
[how to specify username and password].
3636

3737
This action supports PyPI's [trusted publishing]
3838
implementation, which allows authentication to PyPI without a manually
@@ -230,9 +230,9 @@ In the past, when publishing to PyPI, the most secure way of the access scoping
230230
for automatic publishing was to use the [API tokens][PyPI API token] feature of
231231
PyPI. One would make it project-scoped and save as an environment-bound secret
232232
in their GitHub repository settings, naming it `${{ secrets.PYPI_API_TOKEN }}`,
233-
for example. See [Creating & using secrets]. This is no longer encouraged when
234-
publishing to PyPI or TestPyPI, in favor of [trusted publishing].
235-
233+
for example. See [Creating & using secrets]. While still secure,
234+
[trusted publishing] is now encouraged over API tokens as a best practice
235+
on supported platforms (like GitHub).
236236

237237
## License
238238

0 commit comments

Comments
 (0)