-
Notifications
You must be signed in to change notification settings - Fork 207
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
Allow specifying commit and branch in the same field #242
Comments
As a concrete example, my workflow might look like this:
If there would be only one single field to pass to |
Care to open a PR for that? It looks useful indeed. |
I'm not very familiar with modern (last 20 years) JavaScript, so while I guess I could make an attempt, I think the end result is better if someone else tries :-) |
I don't think we use anything modern in this action's codebase 😄 . Well, other than some 3rd party libraries... |
When integrating with other github actions, many allow specifying either a branch name or a commit id in the same field, such as the
ref
field in https://github.com/actions/checkout. It would be convenient ifaction-download-artifact
also would allow intermixing commits and branch names in this way - either by adding a new fieldref
which takes either, or allowing passing a branch name in thecommit
field.The text was updated successfully, but these errors were encountered: