Skip to content

ci(release): Move to Craft auto versioning - #66

Open
sentry-junior[bot] wants to merge 3 commits into
mainfrom
ci/craft-auto-versioning
Open

sentry-junior[bot] wants to merge 3 commits into
mainfrom
ci/craft-auto-versioning

Conversation

@sentry-junior

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

Copy link
Copy Markdown
Contributor

What

  • The Release workflow now has a bump choice input: auto (default), pre, patch, minor, major. The old version choice input (minor/patch/major, default minor) is gone.
  • New optional version string input: an exact version override. Craft gets ${{ inputs.version || inputs.bump }}.
  • getsentry/craft moves from a 3.9.0 SHA pin to the floating v3 tag, so the workflow stays on the latest Craft 3.x. The step now passes llm_api_key: ${{ github.token }}, and the job grants copilot-requests: write, so Craft can write AI changelog summaries. Git and publish operations still use the Sentry Release Bot token.
  • README.md "Release" describes the new inputs.

The repo's own steps (release bot token, checkout, drop-floating-tags.sh, runner, timeout, force handling) are unchanged.

Why

BYK asked to move the Craft repos to auto versioning with the full bump set, matching the release workflow of getsentry/junior.

Verification

  • Craft 3.11.0 (the current v3) action.yml and the versioning docs accept auto and pre for version. auto needs minVersion 2.14.0+, and pre needs 3.9.0+; .craft.yml already has minVersion: "3.9.0" and changelog.policy: auto, so no .craft.yml change is needed.
  • actionlint 1.7.12 passes, except that it does not know the copilot-requests permission scope yet (getsentry/junior uses the same scope). This repo's CI does not run actionlint.
  • oxfmt --check passes on both files.
  • I did not run the workflow. Note: before 1.0.0, auto and pre treat breaking changes as a minor bump.

via @BYK.

--

View Session [Sentry]

Replace the version choice input with a bump input (auto, pre, patch,
minor, major; default auto), add an optional exact version override, and
update getsentry/craft to 3.11.0 with AI changelog summaries. This matches
the release workflow of getsentry/junior.

Co-Authored-By: Burak Yigit Kaya <126780+BYK@users.noreply.github.com>
Comment thread .github/workflows/release.yml Resolved

@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 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 97f8fe7. Configure here.

Comment thread .github/workflows/release.yml Resolved
Comment thread .github/workflows/release.yml Resolved
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