nextchanges: Enforce changelog fragment format - #6395
Open
janniklasrose wants to merge 9 commits into
Open
Conversation
…nges-enforce-format
janniklasrose
marked this pull request as ready for review
August 27, 2026 12:54
Contributor
Waiting for approvalBased on git history, these people are best suited to review:
Eligible reviewers: Suggestions based on git history. See OWNERS for ownership rules. |
Collaborator
Integration test reportCommit: 6b463c6
Top 3 slowest tests (at least 2 minutes):
|
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.
Changes
tools/validate_nextchanges.pyto be more opinionated:*required#123numbers are expanded github links (issues and PRs)tools/update_github_links.pyand have all link validation be done intools/validate_nextchanges.py.github/workflows/changelog-preview.ymlworkflow (runs on PRs and pushes to main) does strict validation on the PR being added to new fragmentsWhy
We've been skipping PR numbers/links for a few releases. This enforces it.
Tests
Added 4 test.md files (see https://github.com/databricks/cli/tree/99d5458b3248482f21e2b5f12568bbd8d74d6c44/.nextchanges/cli)
Workflow validation of test files added to this PR:
When fixing the PR attribution in test3.md to 6395 locally and running
task changelog-previewit passes (because locally the test callsghand associates the branch to an open PR). If running locally before opening a PR (or quickly renaming branch) the test passes since we don't enforce PR link logic there.Valid entries look like this (
task changelog-preview):