Add a small note about security implications of using cibuildwheel in CI runners (#2711)

* Bump to actions/checkout v6 everywhere

* Add a note about security

* Not persisting credentials is still valuable

* Fix bad indentation

* Improve wording, remove link to PyPA guides

Co-Authored-By: Joe Rickerby <1244307+joerick@users.noreply.github.com>

---------

Co-authored-by: Joe Rickerby <1244307+joerick@users.noreply.github.com>
This commit is contained in:
Agriya Khetarpal
2026-02-06 18:54:08 +00:00
committed by GitHub
co-authored by Joe Rickerby
parent d31248fdbf
commit 42d1caec22
7 changed files with 29 additions and 6 deletions
+2 -1
View File
@@ -29,10 +29,11 @@ GitHub actions has pipx in all the runners as a supported package manager, as we
name: Make SDist
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
fetch-depth: 0 # Optional, use if you use setuptools_scm
submodules: true # Optional, use if you have submodules
persist-credentials: false # Highly recommended as a good security practice to not store credentials in disk, unless you need this for your specific use case
- name: Build SDist
run: pipx run build --sdist