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
Review input 'GITHUB_TOKEN' #42
Comments
Fair. I've been thinking about renaming all of my settings. I've been using It'll be a slight migration headache. I've also been considering moving most of my settings out of the workflow and into a state file. This (and a configuration path) would of course remain, but I'm considering moving most others away, which would resolve a number of points for me... The with:
GITHUB_TOKEN: "" Which would otherwise be legal, but I promise that doing that will not result in a good outcome (as a very large portion of the engine involves talking to GitHub). (I should add a caveat in that Gitea is previewing actions and I hope (but haven't tested) that it will work with GHES, and it should generally work with nektos/act, so it doesn't precisely need GitHub, it just really wants a GitHub-like environment -- including a token so it can talk to the GitHub-like api server.) Renaming fields is something I definitely want to do before a 1.0 release (at which point I'd likely drop a number of deprecated fields). |
The starting point to open this issue was 'GitHub Actions' plugin warning about the missing |
A test to enforce a value for this field should be applied or there's a reason to allow an empty value? 🤔 |
The documentation doesn't really explain enough of these things, so I'm not entirely certain if the statement is technically right or wrong: I suppose I could file a bug asking for the documentation to clarify what they mean. I'll have to test to see what explodes. I'll probably deprecate |
Fwiw, I've started working on these things. I expect to include changes in prerelease shortly. |
I ran into a bunch of snags trying to redo all of my inputs and punted on this work, so it is not include in v0.0.22. I do intend to work on it. |
Since that input
GITHUB_TOKEN
default value isgithub.token
, there's no need to make it required.source: Using the GITHUB_TOKEN in a workflow
Please, consider changing it's name to
token
orrepo-token
, as seen in actions/setup-python and actions/labeler, because it's functionality are similar, thus helping create a standard across the actions available in the GitHub Marketplace - Actions.The text was updated successfully, but these errors were encountered: