Skip to content

Conversation

@BYK
Copy link
Member

@BYK BYK commented Jan 9, 2026

Summary

This PR migrates from the deprecated action-prepare-release to the new Craft GitHub Actions.

Changes

  • Migrated .github/workflows/release.yml to Craft reusable workflow

Documentation

See https://getsentry.github.io/craft/github-actions/ for more information.

This PR migrates from the deprecated action-prepare-release to the new
Craft GitHub Actions (reusable workflow or composite action).

Changes:
- Migrate .github/workflows/release.yml to Craft reusable workflow
@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

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).


New Features ✨

  • Added Main to SentryThread by bitsandfoxes in #4807

Build / dependencies / internal 🔧

Deps

  • Update Native SDK to v0.12.3 by github-actions in #4832
  • Update Java SDK to v8.29.0 by github-actions in #4817
  • Bump actions/download-artifact from 6.0.0 to 7.0.0 by dependabot in #4828
  • Bump docker/setup-buildx-action from 3.11.1 to 3.12.0 by dependabot in #4827
  • Bump github/codeql-action from 4.31.8 to 4.31.9 by dependabot in #4826
  • Bump getsentry/action-prepare-release from 1.6.4 to 1.6.6 by dependabot in #4825
  • Bump github/codeql-action from 4.31.5 to 4.31.8 by dependabot in #4813
  • Bump actions/cache from 4.3.0 to 5.0.1 by dependabot in #4812
  • Bump codecov/codecov-action from 5.5.1 to 5.5.2 by dependabot in #4811
  • Bump actions/upload-artifact from 5.0.0 to 6.0.0 by dependabot in #4810
  • Bump actions/create-github-app-token from 2.2.0 to 2.2.1 by dependabot in #4795

Other

  • (release) Switch from action-prepare-release to Craft by BYK in #4835
  • Fix Build of Compiler-Extension by Flash0ver in #4804

🤖 This preview updates automatically when you update the PR.

Comment on lines +6 to 7
description: Version to release (or "auto")
required: false

This comment was marked as outdated.

@codecov
Copy link

codecov bot commented Jan 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.80%. Comparing base (2370080) to head (7147cd0).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4835      +/-   ##
==========================================
+ Coverage   73.79%   73.80%   +0.01%     
==========================================
  Files         483      483              
  Lines       17551    17551              
  Branches     3461     3461              
==========================================
+ Hits        12952    12954       +2     
+ Misses       3746     3745       -1     
+ Partials      853      852       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

The previous migration incorrectly removed the GitHub App token
authentication step. This commit restores it by switching to the
composite action pattern which preserves the auth flow.
token: ${{ steps.token.outputs.token }}
fetch-depth: 0
- name: Prepare release
uses: getsentry/craft@39ee616a6a58dc64797feecb145d66770492b66c # v2
Copy link
Collaborator

@lucas-zimerman lucas-zimerman Jan 13, 2026

Choose a reason for hiding this comment

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

39ee616a6a58dc64797feecb145d66770492b66c has issues with releases, fixed on the latest version

Suggested change
uses: getsentry/craft@39ee616a6a58dc64797feecb145d66770492b66c # v2
uses: getsentry/craft@1c58bfd57bfd6a967b6f3fc92bead2c42ee698ce # v2


jobs:
changelog-preview:
uses: getsentry/craft/.github/workflows/changelog-preview.yml@v2
Copy link

Choose a reason for hiding this comment

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

Inconsistent Craft version pinning between workflows

Medium Severity

The PR reviewer noted issues with certain Craft versions and recommended pinning to a specific commit hash. The release.yml correctly pins to commit 1c58bfd57bfd6a967b6f3fc92bead2c42ee698ce, but the new changelog-preview.yml uses the mutable @v2 tag instead. If the v2 tag hasn't been updated to the fixed version, or if it later regresses, the changelog-preview workflow could use a problematic version. This inconsistent approach to version pinning goes against the reviewer's guidance.

Additional Locations (1)

Fix in Cursor Fix in Web

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.

3 participants