Skip to content

ci(release): Switch from action-prepare-release to Craft#31

Merged
loewenheim merged 16 commits intomasterfrom
ci/migrate-to-craft-action
Jan 30, 2026
Merged

ci(release): Switch from action-prepare-release to Craft#31
loewenheim merged 16 commits intomasterfrom
ci/migrate-to-craft-action

Conversation

@BYK
Copy link
Copy Markdown
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.

BYK added 2 commits January 9, 2026 17:56
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
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.
Comment thread .github/workflows/release.yml Outdated
Comment on lines +22 to +32
- uses: actions/checkout@v4
with:
token: ${{ steps.token.outputs.token }}
fetch-depth: 0
- name: Prepare release
uses: getsentry/craft@v2
env:
GITHUB_TOKEN: ${{ steps.token.outputs.token }}
with:
version: ${{ inputs.version }}
force: ${{ inputs.force }}

This comment was marked as outdated.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jan 10, 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).


Build / dependencies / internal 🔧

  • (release) Switch from action-prepare-release to Craft by BYK in #31

🤖 This preview updates automatically when you update the PR.

Comment thread .github/workflows/release.yml Outdated
Comment on lines +29 to +36
fetch-depth: 0
- name: Prepare release
uses: getsentry/craft@39ee616a6a58dc64797feecb145d66770492b66c # v2
env:
GITHUB_TOKEN: ${{ steps.token.outputs.token }}
with:
version: ${{ inputs.version }}
force: ${{ inputs.force }}

This comment was marked as outdated.

Comment thread .github/workflows/release.yml
@loewenheim loewenheim merged commit 2401eb5 into master Jan 30, 2026
12 checks passed
@loewenheim loewenheim deleted the ci/migrate-to-craft-action branch January 30, 2026 13:41
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