Skip to content

Commit e0c6faa

Browse files
authored
ci(release): Switch from action-prepare-release to Craft (#785)
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
1 parent 1be3a73 commit e0c6faa

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@ on:
44
workflow_dispatch:
55
inputs:
66
version:
7-
description: Version to release
8-
required: true
7+
description: Version to release (or "auto")
8+
required: false
99
force:
1010
description: Force a release even when there are release-blockers (optional)
1111
required: false
1212

13+
permissions:
14+
contents: write
15+
pull-requests: write
16+
1317
jobs:
1418
release:
1519
runs-on: ubuntu-latest
@@ -28,7 +32,7 @@ jobs:
2832
fetch-depth: 0
2933

3034
- name: Prepare release
31-
uses: getsentry/action-prepare-release@v1
35+
uses: getsentry/craft@c6e2f04939b6ee67030588afbb5af76b127d8203 # v2
3236
env:
3337
GITHUB_TOKEN: ${{ steps.token.outputs.token }}
3438
with:

0 commit comments

Comments
 (0)