-
Notifications
You must be signed in to change notification settings - Fork 234
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
Explain how to actually pass inputs? #57
Comments
What were you trying to do? Which part is confusing? |
https://github.com/ad-m/github-push-action#inputs - the phrasing is "can be passed in using [...]" without explaining what "passing in" means. It looks for all the world that there isn't actually any "passing in", and the text should be updated to instead read "can be referenced using [...]"; the github token gets provided by Github, you don't pass that into the action context yourself. The same goes for branch. So a docs update is in order. |
Your original issue stated that after hours of searching, it still wasn't clear on how to use the action at all. Your follow-up is that it is actually very clear on how to use the action (paste the included environmental variable) but that it isn't clear if other options are available (passing in inputs without using an environmental variable, etc).
doesn't quite click with the fact that you can just paste in the suggested environmental variable without reading the github action docs at all. You can also see it from the example code provided in the doc:
Either way, this seems like a great thing for you to submit your own PR for- if you don't like the phrasing, you can resolve this yourself. However, if the fix is really as simple as changing "passed in" to "referenced using," that seems a little different from the original issue as stated, and I confess I don't really see the functional difference in the language. Personally, if I didn't think to try using the example inputs recommended by the docs, I don't think changing the phrasing would help. But if you do, send the PR! You seem to know how to use the action now, so if you think you can add the missing link in helping others understand, you're probably in the best position to do it! |
Yeah: I filed that in June. While I've since figure out what the text actually meant, at the time it was frustrating at hell, so the original comment still stands. Not everyone's a native speaker, and even folks who are native speakers can get confused. Documentation is hard, so acting on requests to fix the docs is always worth it even if it seems obvious to you personally. Having said that, I'll leave this up to @ad-m, or anyone else marked as contributor to this project, since those are the folks whose opinion matter most here. |
Sure, I was just suggesting that you submit your proposed changes since you think they could help other users. |
i contribute to 150+ repos already. Kinda done my part at this point =0 |
The README.md doesn't say anything about how to specify the input values. I'm sure that somewhere buried in the github action docs that's explain but please put the actual steps necessary in the README.md so that people don't have to hunt for hours to find them (I know I still haven't).
The text was updated successfully, but these errors were encountered: