From a9aaec126208dd105b06b012dfe756cd513e8caf Mon Sep 17 00:00:00 2001 From: Dan Wahlin Date: Mon, 5 Oct 2026 11:57:08 -0700 Subject: [PATCH] fix(course-updater): ignore prerelease app versions Require stable GitHub release metadata before the workflow proposes course updates so prerelease and unreleased features do not reach beginner-facing content. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1ad12fff-5a6a-420f-b930-16df7f096cea --- .github/workflows/course-updater.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/course-updater.md b/.github/workflows/course-updater.md index e0ae521..3437b79 100644 --- a/.github/workflows/course-updater.md +++ b/.github/workflows/course-updater.md @@ -59,6 +59,8 @@ Use `web-fetch` to read the following page and extract the latest entries from t Use the authenticated GitHub MCP tools `list_releases` and `list_commits` to check the latest releases and commits in `github/app`. Only include updates from the past 7 days. +Only consider features that have shipped in a stable GitHub release. Use the GitHub release metadata as the source of truth and exclude every release where `draft` or `prerelease` is `true`. Do not use version names, changelog entries, or wording such as "production-ready" to override that metadata. A changelog entry or commit is eligible only if you verify that it is included in a stable release published within the past 7 days. Ignore unreleased changes and changes available only in prerelease versions. + If `web-fetch` or a shell `gh` command is denied or cannot authenticate, continue with the GitHub MCP tools. Release notes and commits are valid alternative sources when `web-fetch` cannot read the changelog. Use `get_file_contents` if you need to read the changelog through MCP. If the authenticated MCP reads also fail, report the error with `missing_data` or `missing_tool` and stop. Do not assume that the repository is private or report that no updates are needed without source data. An incomplete check must fail the workflow.