Skip to content

Commit 78c56b4

Browse files
fix(02a): add gh auth status check and fix checkpoint accuracy (#1829)
1 parent 3b4cf42 commit 78c56b4

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

workshop/02a-setup-codespace.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Codespaces auto-save your work. If you close the tab, open [github.com/codespace
5757
3. Keep this terminal open. It is already inside your practice repository.
5858

5959
> [!TIP]
60-
> 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).
60+
> 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.
6161
6262
<details>
6363
<summary>First time in a terminal?</summary>
@@ -76,23 +76,27 @@ The diagram below shows your Codespace connection to GitHub.
7676

7777
```bash
7878
gh --version
79+
gh auth status
7980
```
8081
2. Confirm `gh --version` shows `gh version 2.40.0` or newer.
82+
3. Confirm `gh auth status` shows you are logged in to `github.com`.
8183

8284
_What success looks like:_
8385

8486
```text
8587
gh version 2.40.0 (2024-01-01)
88+
...
89+
github.com
90+
✓ Logged in to github.com as <your-username>
8691
```
8792

88-
You should see `gh version 2.40.0` or newer and a line confirming you're logged in to `github.com`.
89-
9093
## ✅ Checkpoint
9194

92-
- [ ] You confirmed your GitHub plan includes Codespaces access (free for public repositories)
95+
- [ ] You confirmed your GitHub plan includes Codespaces access (free tier includes 60 hours/month)
9396
- [ ] The Codespace editor is open in your browser
9497
- [ ] The built-in terminal is open in your Codespace
9598
- [ ] `gh --version` returns version 2.40.0 or newer
99+
- [ ] `gh auth status` confirms you are logged in to `github.com`
96100
- [ ] The Codespace is attached to your `my-agentic-workflows` practice repository
97101

98102
<!-- journey: codespace -->

0 commit comments

Comments
 (0)