Skip to content
GitHub Copilot Train-the-Trainer
Trainer Guide

Session M7-06 trainer guide: Automate delivery follow-up

Goal

Show learners how to build one draft-only automation from live GitHub issues and the reviewed Session M7-05 parent result. It drafts a stakeholder update. A person reviews every run and shares the update.

One-hour plan

Time Segment
0:00-0:12 Define automation; compare with a saved prompt and an Actions workflow
0:12-0:20 Source reliability, useful updates, why drafts go wrong
0:20-0:28 Write the concise automation definition
0:28-0:38 Configure and run the automation
0:38-0:46 Review platform run records
0:46-0:54 Change one issue and rerun
0:54-1:00 Scheduling pros and cons; authoritative system

Learners need Automations and GitHub MCP access.

Define the terms

  • Automation: a saved prompt with a trigger, tools, and an enabled state. The agent runs the prompt when the trigger fires.
  • Trigger and cadence: manual, a schedule (hourly, daily, or weekly), or a repository event such as a new issue or pull request. Cloud and local automations offer different triggers.
  • Local scope: runs from the learner's machine. Cloud automations are a separate type that need Copilot cloud agent enabled for the repository. Their prompts and session logs are visible to everyone with read access to the repository.
  • Enabled state: enabled can fire; disabled can't.

Based on Using automations in the GitHub Copilot app. Check current docs before class; triggers and options change.

Automation, saved prompt, or Actions workflow

Saved prompt Automation GitHub Actions
Starts You Trigger or you Event or schedule
Runs Your session Agent with chosen tools Fixed steps on a runner
Result Varies Varies; review it Repeatable

Use Actions for exact jobs like builds and tests. Use an automation for recurring work that needs reading and judgment, like a status draft.

Sources and drafts

  • Source reliability: live issues beat copied files. A reviewed parent result beats chat memory. When sources disagree, the draft says so.
  • A useful update says what changed, what is stuck, who owns it, and what happens next. Every claim has a source.
  • Drafts go wrong when inputs are stale, the model guesses a cause to fill a gap, or nobody reviews.
  • Scheduling pros: consistent, nobody forgets. Cons: repeats mistakes unattended, costs usage, needs an owner. That's why the lab stays manual.

The automation definition

Use lab/starter/automation-definition-template.md. It contains only:

  • trigger and cadence;
  • authoritative inputs;
  • permitted output;
  • prohibited side effects;
  • reviewer;
  • stop conditions;
  • current enabled or disabled state.

The core lab uses a manual trigger. Scheduling stays disabled.

Inputs

The automation reads the live GitHub issues and the reviewed Session M7-05 parent orchestration result. Skip copied status files and static handoffs. They drift from the platform state.

Review the run on the platform

Check the sources behind each claim in the draft. Review open exceptions, tool use, and side effects on the platform, not in a second record.

Have learners choose Keep, Revise, Disable, or Pause, then update the definition's current state to match.

Demo

  1. Retrieve the live issues and Session M7-05 parent result.
  2. Complete the automation definition.
  3. Create a manual automation with minimum GitHub read tools.
  4. Run it and review the stakeholder draft.
  5. Apply lab/starter/approved-input-change.md through a reviewed MCP write.
  6. Retrieve the issue again.
  7. Run the same automation and compare the platform results.
  8. Finalize the stakeholder update.

Stop conditions

Stop when an input is unavailable, sources conflict, restricted data is requested, a prohibited side effect is required, or the reviewer is unavailable.

System-of-record decision

Keep GitHub authoritative when issues and agent work live there. Keep Azure Boards authoritative when the delivery backlog lives there. Don't keep competing status fields.

Learners submit the automation definition and one stakeholder update.