zarr-python
zarr-python copied to clipboard
Updated pypa publish action
From the GHA:
upload_pypi: # >> PyPA publish to PyPI GHA: UNSUPPORTED GITHUB ACTION VERSION <<#L1 You are using "pypa/gh-action-pypi-publish@master". The "master" branch of this project has been sunset and will not receive any updates, not even security bug fixes. Please, make sure to use a supported version. If you want to pin to v1 major version, use "pypa/gh-action-pypi-publish@release/v1". If you feel adventurous, you may opt to use use "pypa/gh-action-pypi-publish@unstable/v1" instead. A more general recommendation is to pin to exact tags or commit shas.
Wonder if there is a way to link to latest
May just need "main"
Yeah think that is what is being called unstable/v1
(appears to be their default branch anyway)
Edit: Was wondering if there was a way to just get the latest stable release, but maybe that is not possible
There is a way to get the latest stable release, in fact, dependabot
will do this for us 😉 -
https://github.com/zarr-developers/zarr-python/blob/daad2fa86a32c3ed10871f6ba191ed3356b29e91/.github/dependabot.yml#L8-L11
We need to pin all the actions to a particular version, and then dependabot
will update them weekly. I will create a PR for this!
This is fantastic! Thank you 😄