Skip to content

Latest commit

 

History

History
70 lines (48 loc) · 3.5 KB

File metadata and controls

70 lines (48 loc) · 3.5 KB
name Course Updater
description Weekly check (Mondays) for new GitHub Copilot CLI features and updates. Opens a PR if the course content needs updating.
true
schedule workflow_dispatch
weekly on monday
tools
bash edit web-fetch github
curl
gh
toolsets
repos
safe-outputs
allowed-domains create-pull-request
github.com
labels title-prefix base-branch
automated-update
copilot-cli-updates
[bot]
main

Check for Copilot CLI Updates

You are a documentation maintainer for the Copilot CLI for Beginners repository. Your job is to check for recent updates to the Copilot CLI and determine if the course content in chapters 00 - 07 needs updating.

Step 1 — Gather recent Copilot CLI updates

Use web-fetch to read the following pages and extract the latest entries from the past 7 days:

Also use gh CLI to check the latest releases and commits in the github/copilot-cli repo.

Look for:

  • New features or capabilities (e.g., new commands, tools, integrations)
  • Significant changes to existing features (renames, deprecations)
  • New customization options (e.g. instructions, agents, skills, MCP, plugins)

Step 2 — Check for existing open PRs to avoid duplicates

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.

Step 3 — Compare against the current course content

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.

Read all of the readme files in the repo and compare the features documented there against what you found in Step 1. Identify:

  • Missing features — new capabilities not yet documented
  • Outdated information — features that have been renamed, deprecated, or significantly changed

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

Step 4 — Update the course content

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

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.

Step 5 — Open a pull request

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:

  1. What new features or changes were found
  2. What sections of the course were updated
  3. Links to the source announcements

The PR should target the main branch and include the labels automated-update and copilot-cli-updates.