Skip to content

ci(release): Bump Craft changelog preview to v3 and use auto changelog - #19

Merged
BYK merged 4 commits into
mainfrom
ci/bump-craft-v3
Nov 24, 2026
Merged

BYK merged 4 commits into
mainfrom
ci/bump-craft-v3

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the changelog-preview reusable workflow getsentry/craft/.github/workflows/changelog-preview.yml@v2 → @v3, and switches .craft.yml from the deprecated changelogPolicy: none to changelog.policy: auto.

The release workflow already uses getsentry/craft@v3 with auto versioning and minVersion: 3.9.0 (#20). This moves the changelog preview onto the same v3 line, matching the bumps going out across getsentry for getsentry/craft#956, and puts the changelog on auto too. Versioning stays on auto, Craft's default for minVersion ≥ 2.14.0.

With changelog.policy: auto, craft prepare creates CHANGELOG.md on the first release (the repo has none yet) and adds an entry for each release from merged PRs, sorted by Craft's default conventional-commit categories since there's no .github/release.yml. The same notes become the GitHub release body. AI summaries stay off, since changelog.aiSummary is opt-in.

The reusable workflow's inputs, secrets, and permissions in v3 are the same as in v2, or only gained optional additions. .craft.yml doesn't use anything craft 3.0 removed (changelog.includePaths, unownedPaths, nuget target).

via @BYK.

--

View Session [Sentry]

Moves the changelog preview reusable workflow off the v2 line. Its inputs
and permissions are unchanged in v3.

Co-Authored-By: BYK <[email protected]>
@vercel

vercel Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sentry-starlight-theme-playground Ready Ready Preview Nov 24, 2026 1:45pm UTC

Request Review

@github-actions

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


Internal Changes 🔧

Release

  • Bump Craft changelog preview to v3 and use auto changelog by BYK with sentry-junior in #19
  • Move to Craft auto versioning by BYK with sentry-junior in #20

🤖 This preview updates automatically when you update the PR.

@sentry-junior sentry-junior Bot changed the title ci: Bump getsentry/craft changelog preview to v3 ci: Bump craft changelog preview to v3 and update config Nov 3, 2026

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Stale Bugbot comment from a previous run.

Comment thread .craft.yml Resolved
Comment thread .craft.yml Resolved

@BYK BYK left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

See my inline comment earlier

@sentry-junior sentry-junior Bot changed the title ci: Bump craft changelog preview to v3 and update config ci(release): Bump Craft changelog preview to v3 and use auto changelog Nov 24, 2026
@sentry-junior
sentry-junior Bot requested a review from BYK November 24, 2026 13:46
Comment thread .craft.yml
Comment on lines +2 to +3
changelog:
policy: auto

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Craft release changelog policy is set to auto instead of none

The release configuration enables Craft’s automatic changelog behavior instead of preserving the previous none policy, so releases can generate changelog content that was meant to be disabled. Set changelog.policy to none to match the stated migration.

Evidence
  • The PR describes migrating the previous changelogPolicy: none to changelog.policy: none.
  • .craft.yml instead sets changelog.policy: auto.
  • .github/workflows/release.yml runs getsentry/craft@v3 without overriding the config; its comment notes that Craft writes AI changelog summaries.

Identified by Warden · code-review · 6CN-2CZ

@BYK
BYK merged commit 4378711 into main Nov 24, 2026
17 checks passed
@BYK
BYK deleted the ci/bump-craft-v3 branch November 24, 2026 13:49
@BYK

BYK commented Nov 24, 2026

Copy link
Copy Markdown
Member

Follow up with setting versioning policy to auto too

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 8906936. Configure here.

Comment thread .craft.yml
minVersion: 3.9.0
changelogPolicy: none
changelog:
policy: auto

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Auto policy needs missing changelog file

High Severity

changelog.policy: auto makes Craft generate and insert a version section into CHANGELOG.md during craft prepare. This repo has no CHANGELOG.md, and none previously skipped that path. Prepare is likely to fail with a missing-changelog error and block releases until the file exists.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 8906936. Configure here.

This branch was successfully deployed

1 active deployment
Preview — 8906936a Deployed Nov 24, 2026 by vercel[bot]
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