Skip to content

[Internal] Make RELEASE_NOTES_MODEL configurable via repo variable#4126

Merged
Wauplin merged 1 commit intomainfrom
configurable-release-notes-model
Apr 20, 2026
Merged

[Internal] Make RELEASE_NOTES_MODEL configurable via repo variable#4126
Wauplin merged 1 commit intomainfrom
configurable-release-notes-model

Conversation

@Wauplin
Copy link
Copy Markdown
Contributor

@Wauplin Wauplin commented Apr 20, 2026

Follow-up #4119

  • Replace the hardcoded RELEASE_NOTES_MODEL: \"zai-org/GLM-5.1\" in the release workflow with \${{ vars.RELEASE_NOTES_MODEL }} so the model used for release notes generation and the Slack announcement can be changed from the GitHub repo settings without editing the workflow file.
  • Document the new required repository variable in the workflow header.

Needs a RELEASE_NOTES_MODEL repository variable to be set (e.g. zai-org/GLM-5.1) before the next release run.

🤖 Generated with Claude Code


Note

Medium Risk
Changes the release GitHub Actions workflow behavior by sourcing RELEASE_NOTES_MODEL from repository variables, so misconfiguration could break automated release-notes/Slack message generation during releases.

Overview
Makes the release workflow’s AI model selection configurable by replacing the hardcoded RELEASE_NOTES_MODEL with ${{ vars.RELEASE_NOTES_MODEL }} for both OpenCode release-notes generation and Slack announcement generation.

Documents RELEASE_NOTES_MODEL as a required repository variable in the workflow header comments.

Reviewed by Cursor Bugbot for commit 677218e. Bugbot is set up for automated code reviews on this repo. Configure here.

@Wauplin Wauplin changed the title [Release] Make RELEASE_NOTES_MODEL configurable via repo variable [Internal] Make RELEASE_NOTES_MODEL configurable via repo variable Apr 20, 2026
@Wauplin Wauplin merged commit f7a25b4 into main Apr 20, 2026
20 of 21 checks passed
@Wauplin Wauplin deleted the configurable-release-notes-model branch April 20, 2026 09:48
@Wauplin
Copy link
Copy Markdown
Contributor Author

Wauplin commented Apr 20, 2026

added in settings
image

@bot-ci-comment
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@huggingface-hub-bot
Copy link
Copy Markdown
Contributor

This PR has been shipped as part of the v1.12.0 release.

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.

1 participant