fix(ai-release-notes): migrate off retired GitHub Models API - #188
Merged
simon (susishopware) merged 1 commit intoAug 6, 2026
Merged
Conversation
GitHub Models was fully retired on July 30, 2026, which broke every release workflow using this action (401 from the legacy inference endpoint). Replace the hardcoded GitHub Models call with a configurable OpenAI-compatible endpoint and a new api-key input, and fall back to the raw GitHub changelog instead of failing the release when no key is configured or the AI call errors. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Soner (shyim)
approved these changes
Aug 4, 2026
simon (susishopware)
deleted the
fix/ai-release-notes-provider-migration
branch
August 6, 2026 08:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
GitHub Models was fully retired on July 30, 2026. Since then, every release workflow using
ai-release-notesfails with a 401 from the legacy inference endpoint (models.inference.ai.azure.com) and no release gets created — first observed ondatabus-conductorv1.10.0 (failed run). The last successful run was on July 29, one day before the shutdown. This affects every repo consuming this action.What changed
api-endpointinput (default:https://api.openai.com/v1/chat/completions) and a newapi-keyinput.api-keyis configured, or the AI call errors, the action logs a warning and uses the raw GitHub-generated changelog as release notes. A broken or missing AI provider can never block a release again.modelinput is passed through unchanged (default staysgpt-4o), so it works with any provider speaking the OpenAI chat completions format — OpenAI directly, the Anthropic compatibility endpoint, Azure OpenAI, etc.models: readpermission requirement from the docs; onlycontents: writeis needed.Migration for consumers
Consuming workflows keep working as-is (they fall back to raw notes with a warning). To restore the AI rewrite, pass a key:
Open question for the maintainers
We deliberately kept this provider-agnostic. On our side (Pipe Fiction team) we'd request an OpenAI key from IT and wire it up as an org/repo secret — but if there is already an established company-wide pattern for AI API access in Actions (central proxy/gateway, an existing shared secret, or a preferred provider), we're happy to adapt this PR to that instead. Input welcome.
🤖 Generated with Claude Code