Skip to content

Commit 9f34df8

Browse files
BYKszokeasaurusrex
andauthored
ci(release): Switch from action-prepare-release to Craft (#3069)
This PR migrates from the deprecated `action-prepare-release` to the new Craft GitHub Actions: https://getsentry.github.io/craft/github-actions/. --------- Co-authored-by: Daniel Szoke <daniel.szoke@sentry.io>
1 parent ae5507f commit 9f34df8

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,19 @@ on:
33
workflow_dispatch:
44
inputs:
55
version:
6-
description: Version to release
7-
required: true
6+
description: Version to release (or "auto")
7+
required: false
88
force:
99
description: Force a release even when there are release-blockers (optional)
1010
required: false
1111
merge_target:
1212
description: Target branch to merge into. Uses the default branch as a fallback (optional)
1313
required: false
14+
15+
permissions:
16+
contents: write
17+
pull-requests: write
18+
1419
jobs:
1520
release:
1621
runs-on: ubuntu-24.04
@@ -27,7 +32,7 @@ jobs:
2732
token: ${{ steps.token.outputs.token }}
2833
fetch-depth: 0
2934
- name: Prepare release
30-
uses: getsentry/action-prepare-release@c8e1c2009ab08259029170132c384f03c1064c0e # 1.6.6
35+
uses: getsentry/craft@c6e2f04939b6ee67030588afbb5af76b127d8203 # v2.19.0
3136
env:
3237
GITHUB_TOKEN: ${{ steps.token.outputs.token }}
3338
with:

0 commit comments

Comments
 (0)