Skip to content

Request for @latest version with a subset of guaranteed inputs #2046

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
DanTheMan827 opened this issue Jan 17, 2025 · 3 comments
Open

Request for @latest version with a subset of guaranteed inputs #2046

DanTheMan827 opened this issue Jan 17, 2025 · 3 comments

Comments

@DanTheMan827
Copy link

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.

@reneleonhardt
Copy link

Could you provide an example? latest isn't necessarily stable 😉

@DanTheMan827
Copy link
Author

I don’t mean head of the main branch, but rather the newest tagged version of the action.

@reneleonhardt
Copy link

reneleonhardt commented May 21, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants