Repository navigation
ci(release): Bump Craft changelog preview to v3 and use auto changelog - #19
Conversation
Moves the changelog preview reusable workflow off the v2 line. Its inputs and permissions are unchanged in v3. Co-Authored-By: BYK <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Semver Impact of This PR🟢 Patch (bug fixes) 📋 Changelog PreviewThis is how your changes will appear in the changelog. Internal Changes 🔧Release
🤖 This preview updates automatically when you update the PR. |
Co-Authored-By: BYK <[email protected]>
Co-Authored-By: BYK <[email protected]> # Conflicts: # .craft.yml
| changelog: | ||
| policy: auto |
There was a problem hiding this comment.
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: nonetochangelog.policy: none. .craft.ymlinstead setschangelog.policy: auto..github/workflows/release.ymlrunsgetsentry/craft@v3without overriding the config; its comment notes that Craft writes AI changelog summaries.
Identified by Warden · code-review · 6CN-2CZ
|
Follow up with setting versioning policy to |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ 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.
| minVersion: 3.9.0 | ||
| changelogPolicy: none | ||
| changelog: | ||
| policy: auto |
There was a problem hiding this comment.
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.
Reviewed by Cursor Bugbot for commit 8906936. Configure here.


Bumps the changelog-preview reusable workflow
getsentry/craft/.github/workflows/changelog-preview.yml@v2→@v3, and switches.craft.ymlfrom the deprecatedchangelogPolicy: nonetochangelog.policy: auto.The release workflow already uses
getsentry/craft@v3withautoversioning andminVersion: 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 onautotoo. Versioning stays onauto, Craft's default forminVersion≥ 2.14.0.With
changelog.policy: auto,craft preparecreatesCHANGELOG.mdon 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, sincechangelog.aiSummaryis opt-in.The reusable workflow's inputs, secrets, and permissions in v3 are the same as in v2, or only gained optional additions.
.craft.ymldoesn't use anything craft 3.0 removed (changelog.includePaths,unownedPaths, nuget target).via @BYK.
--
View Session [Sentry]