File tree Expand file tree Collapse file tree 2 files changed +23
-25
lines changed
Expand file tree Collapse file tree 2 files changed +23
-25
lines changed Original file line number Diff line number Diff line change 1+ name : Changelog Preview
2+ on :
3+ pull_request :
4+ types :
5+ - opened
6+ - synchronize
7+ - reopened
8+ - edited
9+ - labeled
10+ jobs :
11+ changelog-preview :
12+ uses : getsentry/craft/.github/workflows/changelog-preview.yml@v2
13+ secrets : inherit
Original file line number Diff line number Diff line change 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 :
9- description : Force a release even when there are release-blockers (optional)
9+ description : Force a release even when there are release-blockers
1010 required : false
1111 merge_target :
12- description : Target branch to merge into. Uses the default branch as a fallback (optional)
12+ description : Target branch to merge into
1313 required : false
1414jobs :
1515 release :
16- runs-on : ubuntu-24.04
17- name : ' Release a new version'
18- steps :
19- - name : Get auth token
20- id : token
21- uses : actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
22- with :
23- app-id : ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
24- private-key : ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
25- - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # 6.0.1
26- with :
27- token : ${{ steps.token.outputs.token }}
28- fetch-depth : 0
29- - name : Prepare release
30- uses : getsentry/action-prepare-release@c8e1c2009ab08259029170132c384f03c1064c0e # 1.6.6
31- env :
32- GITHUB_TOKEN : ${{ steps.token.outputs.token }}
33- with :
34- version : ${{ github.event.inputs.version }}
35- force : ${{ github.event.inputs.force }}
36- merge_target : ${{ github.event.inputs.merge_target }}
16+ uses : getsentry/craft/.github/workflows/release.yml@v2
17+ with :
18+ version : ${{ inputs.version }}
19+ force : ${{ inputs.force }}
20+ merge_target : ${{ inputs.merge_target }}
21+ secrets : inherit
You can’t perform that action at this time.
0 commit comments