Skip to content

Remove the AI labeler and dead AI changelog: GitHub Models is retired - #153

Merged
jeremy merged 2 commits into
mainfrom
remove-ai-labeler
Jul 31, 2026
Merged

Remove the AI labeler and dead AI changelog: GitHub Models is retired#153
jeremy merged 2 commits into
mainfrom
remove-ai-labeler

Conversation

@jeremy

@jeremy jeremy commented Jul 31, 2026

Copy link
Copy Markdown
Member

Why

GitHub retired GitHub Models on 2026-07-30 — playground, catalog, and inference API are all gone. The two ai-labeler.yml jobs 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

  • Commit 1: delete .github/workflows/ai-labeler.yml + the classify-pr/detect-breaking prompts.
  • Commit 2 (surgical, release.yml is release-critical): strip the three AI-changelog steps (prompt splice, actions/ai-inference, response-file plumbing), the models: read permission, the CHANGELOG_FILE/RELEASE_CHANGELOG plumbing, and the summarize-changelog prompt. The RELEASE_CHANGELOG conditional comes out of the .goreleaser.yaml release header; the Install instructions in the header remain. Released notes are unchanged — the github-native changelog fallback becomes the only path.

Notes for review

  • The red AI checks will still show on this PR — pull_request_target runs from the base branch; they disappear after merge. Not required checks (verified against the main-gate ruleset).
  • The sensitive-change gate will flag this PR (touches .github/workflows/) — expected, informational.
  • actionlint clean 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.
  • hey-cli has no path-based labeler workflow; adding deterministic labeling here is a separate follow-up if desired.

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.

  • Refactors
    • Deleted .github/workflows/ai-labeler.yml and the classify-pr, detect-breaking, and summarize-changelog prompts.
    • Removed changelog generation steps and the models: read permission from .github/workflows/release.yml.
    • Dropped the RELEASE_CHANGELOG header conditional from .goreleaser.yaml.

Written for commit e44ec6f. Summary will update on new commits.

Review in cubic

jeremy added 2 commits July 30, 2026 23:52
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.
Copilot AI review requested due to automatic review settings July 31, 2026 06:54
@github-actions

Copy link
Copy Markdown

Sensitive Change Detection (shadow mode)

This PR modifies control-plane files:

  • .github/workflows/ai-labeler.yml
  • .github/workflows/release.yml
  • .goreleaser.yaml

Shadow mode — this check is informational only. When activated, changes to these paths will require approval from a maintainer.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.yml workflow and its classify-pr, detect-breaking, and summarize-changelog prompt files.
  • Strip the AI-changelog steps, models: read permission, and CHANGELOG_FILE/RELEASE_CHANGELOG plumbing from release.yml.
  • Drop the RELEASE_CHANGELOG conditional from the .goreleaser.yaml release 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.

@jeremy
jeremy merged commit 1512c16 into main Jul 31, 2026
28 of 29 checks passed
@jeremy
jeremy deleted the remove-ai-labeler branch July 31, 2026 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants