-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Retrieve action version #494
Comments
cc @TingluoHuang , I like this idea, what do you think about incorporating it into the Runner so that we can consume it? Keep in mind that we support a number of different ways to specify what version of an action to download.
Some of these are immutable (sha's), while others could change (branches or tags). Would it be helpful to expose two values, one that points to the version requested by the user, the other the sha it resolves to? For example for the input
we would provide
if a user requested by sha, they would get
we would provide
|
I'd like to work on this one in the incoming days/weeks. Is it taken? 👀 |
Hey 👋 would be super useful to access information about the ref of the action being executed. Any chance you guys are going to pick up this work? Thanks! |
I had no answer above, but I'll give it a try - in the worst scenario this ends up in a PR that's not merged 😄 |
Describe the enhancement
Method or an environment variable to retrieve action version specified in workflow.
Code Snippet
workflow.yml:
action code:
Additional information
This is useful when collecting usage statistics.
The text was updated successfully, but these errors were encountered: