Request for @latest version with a subset of guaranteed inputs
I would like to request the introduction of a latest version for the action. This latest version should provide the core functionality with a subset of inputs that are guaranteed to be supported indefinitely, ensuring a stable and consistent usage of the action for workflows that utilize it.
My suggestion would be at minimum:
- repository
- ref
- path
- token
- lfs
- submodules
Implementing this feature will help users using the latest hosted workflow runners benefit from ongoing updates and improvements while maintaining a reliable set of inputs for their workflows. Thank you for considering this request.
Could you provide an example? latest isn't necessarily stable 😉
I don’t mean head of the main branch, but rather the newest tagged version of the action.
Okay, it will work most of the time, but as I said, not every stable tag is a release, it could be a pre-release (not yet officially released).
Examples to get the latest tag: https://github.com/marketplace/actions/get-latest-tag https://github.com/marketplace/actions/latest-tag https://github.com/actions-ecosystem/action-get-latest-tag https://stackoverflow.com/questions/58177786/get-the-current-pushed-tag-in-github-actions
Here is a fresh stable tag for example, but it's a pre-release (for now): https://github.com/nbonamy/witsy/releases/tag/v2.6.4 Under https://github.com/nbonamy/witsy/releases you can see that 2.6.3 is the latest release.