Description
Summary
The @rnw-scripts/create-github-releases
script requires users to specify a GH token/PAT via a command-line argument, and will bail if it's missing.
Instead, if the argument is missing, the script should either use the GH credentials of the current user (if possible) or help the user through getting a PAT (the way when you first clone or push to GH, git takes you through the whole oauth exchange).
Motivation
This script is normally run only in CI as a part of publish, and it has a token. However, sometimes there's problems, and we have to run the script manually. It would be nice if the script could just use the users credentials, or walk the user through authentication to get a PAT, rather than requiring users to go and make a PAT manually correctly by themselves.
Basic Example
No response
Open Questions
No response