Skip to content

Commit 10f1a21

Browse files
authored
fix: add mandatory compile checkpoint gate in Step 13 (Schedule It) (#1349)
1 parent ae92b56 commit 10f1a21

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

workshop/13-schedule-it.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Both paths update the same fuzzy schedule expression and finish by confirming it
3838

3939
After completing your chosen path, verify:
4040

41+
- [ ] I ran `gh aw compile` after editing the schedule expression and confirmed the lock file updated.
4142
- [ ] I can explain what a `schedule:` trigger does in GitHub Actions — it runs the workflow automatically at the defined cadence without manual intervention.
4243
- [ ] I understand that `gh aw compile` converts a fuzzy expression like `daily on weekdays` into a valid cron string in the lock file.
4344
- [ ] The `schedule:` field in `.github/workflows/daily-status.md` contains a valid schedule expression (for example, `daily on weekdays`).

workshop/13a-schedule-it-terminal.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ on:
6565

6666
### Compile and validate
6767

68+
> [!IMPORTANT]
69+
> Run `gh aw compile` after editing the schedule — this is required before committing.
70+
6871
```bash
6972
gh aw compile
7073
```

workshop/13b-schedule-it-ui.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ You'll update the fuzzy schedule expression in the GitHub web editor, commit it,
3636

3737
Keep `workflow_dispatch` so you can still run the workflow on demand.
3838

39-
> [!NOTE]
40-
> The GitHub UI path skips local compile checkpoints. GitHub Actions compiles the change and reports syntax errors in the run log.
39+
> [!IMPORTANT]
40+
> Committing the `.md` file via the web editor does **not** automatically recompile the lock file. After committing, open your Codespace or local terminal and run `gh aw compile`, then push the updated `.lock.yml`.
4141

4242
<!-- Separate adjacent callouts -->
4343

0 commit comments

Comments
 (0)