python-freeze#
Pin Python project dependencies.
Pin dependencies and store them in a GitHub Actions workflow artifact, an immutable archive, which facilitates reproducible builds. This action assumes that Python is installed and that private repository access has been established (if needed), e.g., as if run after the pre-commit action in the same workflow job.
To update the pinned version of pip-compile, remove
python-freeze/requirements.txt
and regenerate it with the command pip-compile --generate-hashes --allow-unsafe --uploaded-prior-to=P7D, run from the
python-freeze/ directory.
Inputs#
- artifact-name:
(required, default-value:
"pip-compile-artifacts")This names the workflow artifact containing the dependency pins.