Remove the AI labeler and dead AI changelog: GitHub Models is retired - #153
Conversation
GitHub retired GitHub Models on 2026-07-30 (playground, catalog, and inference API), so both ai-labeler jobs now fail permanently on every PR. The labeler proved more novelty than useful, so remove it outright rather than migrate it to another backend. The summarize-changelog prompt goes with the release workflow's AI steps in the next commit.
The release workflow's AI-changelog steps (prompt splice, ai-inference call, response-file plumbing) depend on the GitHub Models inference API, retired 2026-07-30. The steps were already continue-on-error and have been silently falling back to GoReleaser's github-native changelog, so removing them changes nothing about the released notes — it just makes the fallback the only path. Also drops the RELEASE_CHANGELOG conditional from the release header template (the Install instructions remain) and the models: read permission.
Sensitive Change Detection (shadow mode)This PR modifies control-plane files:
|
There was a problem hiding this comment.
Pull request overview
This PR removes the GitHub Models–based AI tooling from the repository's CI/CD, since GitHub Models was retired on 2026-07-30 (making the labeler jobs fail permanently and the AI-changelog step silently no-op via continue-on-error). It cleanly excises the AI PR labeler, the AI-changelog generation steps from the release workflow, and the associated prompt files, while preserving release behavior through GoReleaser's already-configured github-native changelog.
Changes:
- Delete the
ai-labeler.ymlworkflow and itsclassify-pr,detect-breaking, andsummarize-changelogprompt files. - Strip the AI-changelog steps,
models: readpermission, andCHANGELOG_FILE/RELEASE_CHANGELOGplumbing fromrelease.yml. - Drop the
RELEASE_CHANGELOGconditional from the.goreleaser.yamlrelease header, keeping the Install instructions.
Tip
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/ai-labeler.yml |
Deletes the retired AI PR-classification/breaking-change workflow. |
.github/workflows/release.yml |
Removes AI-changelog steps, models: read permission, and changelog env plumbing; GoReleaser now runs directly. |
.goreleaser.yaml |
Drops the RELEASE_CHANGELOG header conditional; github-native changelog remains the sole path. |
.github/prompts/summarize-changelog.prompt.yml |
Deletes the now-unused release-summary prompt. |
.github/prompts/detect-breaking.prompt.yml |
Deletes the now-unused breaking-change detection prompt. |
.github/prompts/classify-pr.prompt.yml |
Deletes the now-unused PR classification prompt. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Why
GitHub retired GitHub Models on 2026-07-30 — playground, catalog, and inference API are all gone. The two
ai-labeler.ymljobs now fail permanently on every PR, and the release workflow's AI-changelog step has been silently falling back to GoReleaser's github-native changelog (continue-on-error: true). The labeler proved more novelty than useful, so this removes the stack outright rather than migrating it. Same sweep is landing across basecamp-sdk, basecamp-cli, fizzy-cli, and cli (including the generator seed).What
.github/workflows/ai-labeler.yml+ the classify-pr/detect-breaking prompts.actions/ai-inference, response-file plumbing), themodels: readpermission, theCHANGELOG_FILE/RELEASE_CHANGELOGplumbing, and thesummarize-changelogprompt. TheRELEASE_CHANGELOGconditional comes out of the.goreleaser.yamlrelease header; the Install instructions in the header remain. Released notes are unchanged — the github-native changelog fallback becomes the only path.Notes for review
pull_request_targetruns from the base branch; they disappear after merge. Not required checks (verified against themain-gateruleset)..github/workflows/) — expected, informational.actionlintclean on the edited release.yml; straggler sweep (rg "ai-inference|ai-labeler|classify-pr|detect-breaking|summarize-changelog|models: read|AI changelog|RELEASE_CHANGELOG") comes back empty.Summary by cubic
Removed the GitHub Models labeler and the retired changelog generation from the release workflow. Release notes now come only from GoReleaser’s GitHub-native changelog; PR auto-labeling is removed.
.github/workflows/ai-labeler.ymland theclassify-pr,detect-breaking, andsummarize-changelogprompts.models: readpermission from.github/workflows/release.yml.RELEASE_CHANGELOGheader conditional from.goreleaser.yaml.Written for commit e44ec6f. Summary will update on new commits.