From 0aeabae6ceeae9524d762e49b56c141232d3c665 Mon Sep 17 00:00:00 2001 From: thejesh23 <35212698+thejesh23@users.noreply.github.com> Date: Thu, 26 Nov 2026 18:18:03 -0800 Subject: [PATCH] Lesson 05: a held check needs a new push after Lesson 02 is merged Tested with a brand-new account (#57, #58): gh pr checks prints 'no checks reported on the exercise-2 branch', the held run does not restart after the first pull request is merged, and the next push runs without approval. Co-Authored-By: Claude Fable 5.2 --- lessons/05-second-pr-from-terminal/README.md | 13 +++++++++---- lessons/05-second-pr-from-terminal/exercise.md | 3 ++- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/lessons/05-second-pr-from-terminal/README.md b/lessons/05-second-pr-from-terminal/README.md index db0ad5f..a227c7e 100644 --- a/lessons/05-second-pr-from-terminal/README.md +++ b/lessons/05-second-pr-from-terminal/README.md @@ -198,10 +198,15 @@ like Steps 5 and 6. > **No checks yet?** GitHub doesn't run a newcomer's checks until a > maintainer approves them. If your Lesson 02 pull request isn't merged > (you skipped it, or the bot is still waiting for a fix), this check waits -> too: `gh pr checks` reports no checks, and the pull request page says a -> workflow is awaiting approval. Finish Lesson 02 first, or wait: a -> maintainer approves the run, usually within a day. Then run -> `gh pr checks --watch` again. +> too: `gh pr checks` says `no checks reported on the 'exercise-2' branch`, +> and the pull request page says a workflow is awaiting approval. Two ways +> out: +> +> - Finish Lesson 02. Once that pull request is merged, push any new commit +> to this branch (Stretch 1 in the exercise is a good one). The check +> then starts by itself. The run that was held does not restart on its +> own. +> - Or wait: a maintainer approves the held run, usually within a day. When it finishes, a separate review bot checks your file names and that your code only contains what it should. It doesn't appear in the checks list: diff --git a/lessons/05-second-pr-from-terminal/exercise.md b/lessons/05-second-pr-from-terminal/exercise.md index 984562e..43edb45 100644 --- a/lessons/05-second-pr-from-terminal/exercise.md +++ b/lessons/05-second-pr-from-terminal/exercise.md @@ -9,7 +9,8 @@ - [ ] Commit only your two files, then `git push -u origin exercise-2` - [ ] `gh pr create --fill` (after `gh repo set-default thejesh23/first-python-contribution`) - [ ] `gh pr checks --watch` until the check is green, then wait for the bot's comment and the merge - (no checks yet? Your first run waits for a maintainer's approval until your Lesson 02 PR is merged) + (no checks yet? Your first run waits for a maintainer's approval until your Lesson 02 PR is merged. + After that merge, push one more commit and the check starts by itself) - [ ] Tidy up: `git switch main`, `git pull upstream main`, `git branch -d exercise-2` **Stretch 1:** add a second test, for example that `greet("")` still returns