Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ with GitHub Actions to help protect their projects in the future.

If you use GitHub Actions to publish to PyPI, I recommend the following steps to protect your projects:

1. Replace long-lived tokens with [Trusted Publishers](https://docs.pypi.org/trusted-publishers/.
1. Replace long-lived tokens with [Trusted Publishers](https://docs.pypi.org/trusted-publishers/).
This is the most effective way to protect your projects from this type of attack.
GitHub Trusted Publishers use short-lived tokens that are scoped to a specific repository,
and expire after a short period of time.
Expand Down
Loading