gfilicetti / gke-github-deployment

This repository is a full example of a full CI/CD pipeline using Github actions, terraform and other tech.
Apache License 2.0
3 stars 2 forks source link

setup-env.sh assumes the 'gh' CLI is authenticated #108

Closed gfilicetti closed 1 month ago

gfilicetti commented 1 month ago

When this script runs, if the gh CLI exists, it uses it to try to get the github username and current repository name.

It does an error check to make sure that gh exists, but if it does exist, it doesn't check to see if the user is authenticated to github for the CLI.