Github_Enterprise
Github Enterprise
Mind Map
Errors
Could not read username - terminal prompts disabled.
I'm assuming this is because my ssh username or account hasn't been added to the github enterprise SSO known lists to clone repo.
OR
something inherently wrong with my ssh setup.
A shell task (/usr/bin/env git clone --bare --quiet https://github..com/aae-ios/FastCoderFramework.git /Users/ksave/Library/Caches/org.carthage.CarthageKit/dependencies/FastCoderFramework) failed with exit code 128:
fatal: could not read Username for 'https://github.website.com': terminal prompts disabled
Git replace of https to ssh URL in local config
git config --local url.ssh://git@github.company.com/.insteadOf https://github.company.com/
You can find these changes in .git
folder with config
file where you can remove these things.
Error: Resource protected by organization SAML enforcement.
Error: Resource protected by organization SAML enforcement. You must grant your Personal Access token access to an organization within this enterprise.
Probably have to give the token access to those specific organizations.
Workflow
SO | run when pull requests have a specific label
github project automation workflow
Tokens
Creating access tokens for your account to access repositories or github related stuff can be created here in github settings
Creating secrets like environment variables can be read here from github official docs
Debugging
Skipped the job
Debug logs
Location can be found in actions-runner/_diag/
in your main home directory of your custom github runner.
Enable debug logging on github actions workflows
Extension
Had some issues with Github Pull Requests, Projects and issues popping up on my VS code left side bar. But after I signed out my own personal account it automatically asked me sign again with my work account github enterprise cloud.
Voila it works splendid just like VS code on web.
Glorious
If you're reviewing a PR you can just press .
to simulate like a terminal bash/zsh command of code .
in the current path to open up the PR or project branch in VS code. Pretty nice for reviewing spec or web PRs when there's no requirement of specific language intellisense for swift | xcode or other dependency.