-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
setting test credentials - now eleventy billion % easier #989
Conversation
This is already a big step up. |
LGTM 👍 |
Looks great to me. 👍 |
Nice! Maybe a next step would be to have the script use Octokit.net to help you create the test accounts if you don't have them! Nerd snipe |
Meta all the things!!! |
Not possible through the API :( |
The potential for abuse is high for github.com. We get enough spammer accounts without making it even easier to automate. :) |
Yep, can understand that 😀 |
Tweaking the output a bit to make things clearer:
|
…ntials do not contain a username
21f2f39
to
27988a6
Compare
🍎 |
setting test credentials - now eleventy billion % easier
✨ Really nicely done @shiftkey! |
I found myself on a fresh VM and realised I hadn't set up the test variables for Octokit.
So I scripted it out in some rough PowerShell (indicating which are optional parameters for tests which are specific to features not everyone runs - like private repositories or application tests):
When you run the same script again, it'll display your existing values and ask if you want to update them:
Let me know if there's any way to make this experience a bit more friendly.