From f1b4bfae4f1418f2d7d298d71bb98991460ec13f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 22 Jul 2026 03:35:14 +0000 Subject: [PATCH] fix(02a): add gh auth status check and fix checkpoint accuracy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add 'gh auth status' command alongside 'gh --version' so learners actually verify they are authenticated, matching the existing prose that claims to confirm login. - Fix checkpoint item that said 'free for public repositories' — the repo is created as Private in this step, and Codespaces are available on the free tier (60 h/month), not only on public repos. - Fix TIP callout that linked to the gh-aw install troubleshooting page, which is irrelevant at this setup step; replace with actionable 'gh auth login' recovery hint. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- workshop/02a-setup-codespace.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/workshop/02a-setup-codespace.md b/workshop/02a-setup-codespace.md index bc3c0c44..ff3720dc 100644 --- a/workshop/02a-setup-codespace.md +++ b/workshop/02a-setup-codespace.md @@ -57,7 +57,7 @@ Codespaces auto-save your work. If you close the tab, open [github.com/codespace 3. Keep this terminal open. It is already inside your practice repository. > [!TIP] -> If the terminal in your Codespace shows a `$` prompt, the container is ready. If you see an error, see [install troubleshooting](side-quest-06-01-install-troubleshooting.md). +> If the terminal in your Codespace shows a `$` prompt, the container is ready. If you see a permission error when running `gh auth status`, try `gh auth login` to authenticate.
First time in a terminal? @@ -76,23 +76,27 @@ The diagram below shows your Codespace connection to GitHub. ```bash gh --version + gh auth status ``` 2. Confirm `gh --version` shows `gh version 2.40.0` or newer. +3. Confirm `gh auth status` shows you are logged in to `github.com`. _What success looks like:_ ```text gh version 2.40.0 (2024-01-01) +... +github.com + ✓ Logged in to github.com as ``` -You should see `gh version 2.40.0` or newer and a line confirming you're logged in to `github.com`. - ## ✅ Checkpoint -- [ ] You confirmed your GitHub plan includes Codespaces access (free for public repositories) +- [ ] You confirmed your GitHub plan includes Codespaces access (free tier includes 60 hours/month) - [ ] The Codespace editor is open in your browser - [ ] The built-in terminal is open in your Codespace - [ ] `gh --version` returns version 2.40.0 or newer +- [ ] `gh auth status` confirms you are logged in to `github.com` - [ ] The Codespace is attached to your `my-agentic-workflows` practice repository