--- import StarlightPage from "@astrojs/starlight/components/StarlightPage.astro"; import BackToTop from "../../components/BackToTop.astro"; import workflowsData from "../../../public/data/workflows.json"; import RawMarkdown from "../../components/pages/RawMarkdown.astro"; import type { HeaderItem } from "../../components/pages/Header.astro"; import DetailHeader from "../../components/pages/Header.astro"; import Breadcrumb from "../../components/pages/Breadcrumb.astro"; import Main from "../../components/pages/Main.astro"; import Sidebar from "../../components/pages/Sidebar.astro"; import { readResourceMarkdown, formatLastUpdated } from "../../lib/detail-page"; const GITHUB_BASE = "https://github.com/github/awesome-copilot/blob/main"; const workflowGuideHref = "/learning-hub/agentic-workflows/"; interface WorkflowItem extends HeaderItem { id: string; title: string; description?: string; path: string; triggers: string[]; lastUpdated?: string | null; } export function getStaticPaths() { return (workflowsData.items as WorkflowItem[]).map((item) => ({ params: { id: item.id }, props: { item }, })); } const { item } = Astro.props as { item: WorkflowItem }; const { markdownHtml, frontmatterText, rawMarkdown } = readResourceMarkdown( item.path ); const lastUpdated = formatLastUpdated(item.lastUpdated); const githubUrl = `${GITHUB_BASE}/${item.path}`; const chips: { title: string; items: string[] }[] = []; if (item.triggers.length > 0) { chips.push({ title: "Triggers", items: item.triggers }); } ---

Install this workflow

Install the gh aw CLI{" "} (gh extension install github/gh-aw), then copy this file into .github/workflows/ and run{" "} gh aw compile to generate the lock file. See the{" "} Agentic Workflows guide{" "} for full setup steps.