Skip to content

fix: prepend the dependabot breaking-change note so majors trigger a major release - #1963

Draft
jeswr wants to merge 1 commit into
mainfrom
ci/dependabot-breaking-note-prepend
Draft

fix: prepend the dependabot breaking-change note so majors trigger a major release#1963
jeswr wants to merge 1 commit into
mainfrom
ci/dependabot-breaking-note-prepend

Conversation

@jeswr

@jeswr jeswr commented Jul 4, 2026

Copy link
Copy Markdown
Member

Follow-up to #1958.

Bug

#1958 added a step that appends a BREAKING CHANGE: footer to the body of major production-dependency dependabot PRs, so the squash commit resolves to a semantic-release major. In practice it did not work: dependabot PR bodies always contain a Markdown thematic break (---, before the "Dependabot commands and options" section), and conventional-commits-parser (via conventional-changelog-angular, as used by @semantic-release/commit-analyzer@13.0.1) stops treating a BREAKING CHANGE: line as a footer note once a --- sits between it and the header. The appended note was therefore silently ignored and the release stayed a patch.

Verified empirically against the pinned analyzer:

  • fix: <title> + raw dependabot body + BREAKING CHANGE: note appended -> patch
  • fix: <title> + BREAKING CHANGE: note prepended + raw dependabot body -> major

Fix

Prepend the note into the first paragraph of the body instead of appending it, so it is recognised regardless of the --- blocks lower down. The dedup guard (grep -q '^BREAKING CHANGE:') is unchanged, so re-runs on synchronize stay idempotent. Minor/patch/dev/actions bumps are unaffected.

🤖 Generated with Claude Code

…major release

The BREAKING CHANGE note added for major production dependency bumps was appended to the end of the PR body. Dependabot bodies always contain a Markdown thematic break (---), and the conventional-commits parser stops recognising a BREAKING CHANGE footer note once a --- separates it from the header, so the note was silently ignored and the squashed commit resolved to a patch instead of a major (verified against @semantic-release/commit-analyzer 13.0.1). Prepending the note into the first paragraph makes it resolve to a major release.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 4, 2026 23:24

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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@jeswr
jeswr enabled auto-merge July 4, 2026 23:25
@jeswr
jeswr marked this pull request as draft July 4, 2026 23:31
auto-merge was automatically disabled July 4, 2026 23:31

Pull request was converted to draft

@github-actions github-actions Bot 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.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'EYE JS Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.25.

Benchmark suite Current: 3efa395 Previous: d129aee Ratio
Run socrates query 16.82 ops/sec (±1.22%) 22.2 ops/sec (±2.39%) 1.32
Executing the socrates query 116 ops/sec (±20.83%) 3890 ops/sec (±1.67%) 33.53
Run deep taxonomy benchmark [10] 6.5 ops/sec (±4.72%) 18.83 ops/sec (±6.56%) 2.90
Run deep taxonomy benchmark [50] 0.24 ops/sec (±1.01%) 19.63 ops/sec (±7.26%) 81.79
Run deep taxonomy benchmark [100] 0.04 ops/sec (±0.95%) 18.67 ops/sec (±6.95%) 466.75
Run deep taxonomy benchmark [10] [reasoning only] 7.42 ops/sec (±16.91%) 4107 ops/sec (±1.65%) 553.50
Run deep taxonomy benchmark [50] [reasoning only] 0.6 ops/sec (±22.43%) 4147 ops/sec (±1.85%) 6911.67
Run deep taxonomy benchmark [100] [reasoning only] 0.16 ops/sec (±24.65%) 4136 ops/sec (±1.60%) 25850
Run timbl + foaf + rdfs rules 1.96 ops/sec (±2.70%) 17.23 ops/sec (±6.18%) 8.79
Run timbl + foaf + owl2rl rules 1.12 ops/sec (±1.59%) 17.03 ops/sec (±3.91%) 15.21
Run timbl + rdfs rules 4.42 ops/sec (±2.74%) 18.28 ops/sec (±6.60%) 4.14
Run timbl + owl2rl rules 5.6 ops/sec (±0.52%) 17.1 ops/sec (±6.85%) 3.05
Run timbl + foaf + rdfs rules [string] 2.01 ops/sec (±0.48%) 18.45 ops/sec (±7.08%) 9.18
Run timbl + foaf + owl2rl rules [string] 1.15 ops/sec (±0.49%) 18.54 ops/sec (±6.64%) 16.12
Run timbl + rdfs rules [string] 4.5 ops/sec (±0.41%) 18.77 ops/sec (±6.77%) 4.17
Run timbl + owl2rl rules [string] 5.71 ops/sec (±0.35%) 18.98 ops/sec (±6.47%) 3.32

This comment was automatically generated by workflow using github-action-benchmark.

CC: @jeswr

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