Skip to content

Commit e3122cc

Browse files
DanWahlinCopilot
andcommitted
chore: switch course-updater to weekly on Monday and add duplicate PR prevention
- Change schedule from daily to weekly on monday - Add Step 2 instructing agent to check existing open PRs and skip features already covered by in-progress PRs - Renumber subsequent steps (3-5) - Recompile lock file Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 797b6b7 commit e3122cc

2 files changed

Lines changed: 27 additions & 23 deletions

File tree

.github/workflows/course-updater.lock.yml

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/course-updater.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
name: "Course Updater"
3-
description: "Daily check for new GitHub Copilot CLI features and updates. Opens a PR if the course content needs updating."
3+
description: "Weekly check (Mondays) for new GitHub Copilot CLI features and updates. Opens a PR if the course content needs updating."
44
on:
5-
schedule: daily
5+
schedule: weekly on monday
66
workflow_dispatch:
77
tools:
88
bash: ["curl", "gh"]
@@ -37,25 +37,29 @@ Look for:
3737
- Significant changes to existing features (renames, deprecations)
3838
- New customization options (e.g. instructions, agents, skills, MCP, plugins)
3939

40-
## Step 2 — Compare against the current course content and existing PRs
40+
## Step 2 — Check for existing open PRs to avoid duplicates
41+
42+
Before doing any content comparison, list all open pull requests in this repo that have the `automated-update` or `copilot-cli-updates` labels. Read their titles and descriptions to understand which features or changes each PR already covers. Build a list of features that are **already addressed** by existing PRs — you must exclude those features from any updates you propose later. If every feature you found in Step 1 is already covered by an open PR, stop here and report that no new updates are needed.
43+
44+
## Step 3 — Compare against the current course content
4145

4246
This course targets beginners, so only include content changes that cater to that audience. For example, if a new feature is advanced, marked as experimental, or otherwise doesn't qualify as a "beginner" level feature, don't include it in the course content since we don't want to overwhelm learners. Determine what is most relevant and helpful for beginners learning about the Copilot CLI.
4347

44-
Read all of the readme files in the repo and compare the features documented there against what you found in Step 1. Also check existing pull requests to see if any updates are already in progress. DO NOT duplicate efforts if an update has already been proposed in an open PR.
48+
Read all of the readme files in the repo and compare the features documented there against what you found in Step 1.
4549
Identify:
4650

4751
- **Missing features** — new capabilities not yet documented
4852
- **Outdated information** — features that have been renamed, deprecated, or significantly changed
4953

5054
If there is nothing new or everything is already up to date, stop here and report that no updates are needed.
5155

52-
## Step 3 — Update the course content
56+
## Step 4 — Update the course content
5357

5458
If updates are needed, make a decision on which chapter(s) need to be updated.
5559

5660
If the new information can be added to existing chapter(s), edit those chapters to include refinements, new sections, or updated information as needed. Remember that this course targets beginners, so ensure that any new content is explained clearly and simply, with examples if possible.
5761

58-
## Step 4 — Open a pull request
62+
## Step 5 — Open a pull request
5963

6064
Create a pull request with your changes, using the `main` branch as the base branch. The PR title should summarize what was updated (e.g., "Add /plan command documentation"). The PR body should list:
6165

0 commit comments

Comments
 (0)